Query a workspace-shared table (Teams)
POST
/v1/data/{artifactId}/workspace/tables/{sharedName}/query
const url = 'https://shareout.site/v1/data/example/workspace/tables/example/query';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” artifactId
required
string
Artifact ID (e.g. art_abc123).
sharedName
required
string
The workspace-shared table name.
Request Body
Section titled “Request Body ” Media type application/json
object
Example generated
{}Responses
Section titled “ Responses ”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}