Skip to main content
GET
Get file type schemas
The response will contain a list of schemas that are associated with the file types in the workspace.

Query Parameters

The response shape is { schemas, count, currentPage }.
A cursor parameter is listed on this endpoint because it comes from the shared pagination parameter set, but cursor pagination is not implemented here — sending cursor is accepted and ignored, and you still get the page/limit response. Use page and limit. See Pagination for the endpoints that do support it.

Authorizations

x-api-key
string
header
required

API key for authentication

Query Parameters

blueprintId
string
required

Blueprint Id

Example:

"649e2d2d2d2d2d2d2d2d2d2d"

blueprintMode
string

Blueprint Mode

Example:

"user"

page
number
default:1

Page number

Example:

1

limit
number
default:100

Number of items per page

Example:

100

sortBy
string
default:createdAt

Field to sort by

Example:

"createdAt"

sortOrder
enum<string>
default:ASC

Sort direction

Available options:
ASC,
DESC
Example:

"ASC"

cursor
string

Opaque pagination cursor. Provide the parameter (empty value for the first page) to switch to cursor pagination: the response becomes { data, pagination: { limit, nextCursor, hasMore } } with default limit 50 (max 100). Omit it entirely for legacy page/limit pagination. In cursor mode sortBy must be one of createdAt, updatedAt, _id, and cursors are bound to the sortBy/sortOrder they were minted with.

Response

The file type schemas is retrieved

schemas
object[]
count
number
currentPage
number