Docs
Get Organization Query Sources
GET /organizations/{orgId}/query-sources
GET
/organizations/{orgId}/query-sourcesLists the organization sources the query routes read (name and label), for Query_RunOrganizationQuery: Event, and CollaboratorRecord and CrewRecord when the caller can read them. With authoring=Event, lists instead the event sources a document template's data table can use, for template authoring only (no event query runs). The orgId comes from Users_GetOrganizations. Needs Organization basic access.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required |
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| authoring | string | Optional |
Response
Type: GetOrganizationQuerySourcesResponse[]
GetOrganizationQuerySourcesResponse
| Field | Type | Description |
|---|---|---|
| name | string| null | |
| label | string| null |