Skip to content
Connect an agent

Organisations

List the folders made in the portal

Folders members made in the portal, so an empty folder still shows.

GET/orgs/{org}/folders

TL;DR

QuestionAnswer
What does it do?List the folders made in the portal.
What does it take?org in the path.
What does it return?Status 200 with a body of type FolderRecordList.
What can go wrong?401 not signed in; 404 no such organisation, or the caller is not a member of it; 429 too many requests; 503 organisations are not set up on this server. Every failure uses the one error envelope.

What it does

Folders members made in the portal, so an empty folder still shows. Folders diagrams are filed in are read from the diagrams. A folder a rule keeps from the caller is left out.

Path parameters

FieldTypeRequiredDescription
orgstringyesThe organisation's id or its slug.

Responses

StatusMeaningBody
200The folders.FolderRecordList
401Not signed in.ErrorResponse
404No such organisation, or the caller is not a member of it.ErrorResponse
429Too many requests.ErrorResponse
503Organisations are not set up on this server.ErrorResponse

Response body

A 200 answer has the type FolderRecordList.

FieldTypeRequiredDescription
itemsFolderRecord[]yesBy path, at most 500. The folders diagrams are filed in are read from the diagrams and are not listed here unless someone made them.
items[].pathstringyesThe folder, in the form diagrams carry in their folder.
items[].createdAtintegeryesMilliseconds since the epoch, when it was made.

See also

DocWhy
API referenceEvery endpoint, and the error envelope
SchemasEvery request and response type
Tool referenceThe operations as callable tools