Skip to content

Query a workspace-shared table (Teams)

POST
/v1/data/{artifactId}/workspace/tables/{sharedName}/query
curl --request POST \
--url https://shareout.site/v1/data/example/workspace/tables/example/query \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'

Read rows from a table another artifact shared into this workspace. Same query body as the per-artifact table query. Writing (insert/update/delete) is allowed only when the owner shared the table as readwrite.

artifactId
required
string

Artifact ID (e.g. art_abc123).

sharedName
required
string

The workspace-shared table name.

Media type application/json
object
Example generated
{}

Matching rows

Access denied

Media type application/json
object
success
required
boolean
error
required

Human-readable message.

string
code
required

Machine-readable error code.

string
Example
{
"success": false
}

Resource not found

Media type application/json
object
success
required
boolean
error
required

Human-readable message.

string
code
required

Machine-readable error code.

string
Example
{
"success": false
}