Examples

List Examples

get

List all Examples items.

Example is a reusable example that holds either an inline payload or an external reference for request or response bodies.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
versionIdstring · min: 30 · max: 30Required

Catalog version identifier

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
Query parameters
afterstringOptional

Cursor for pagination (item ID)

limitinteger · min: 1 · max: 1000Optional

Maximum number of items to return (default: 50, max: 1000)

Default: 50
sortany ofOptional

Sort order. Use 'prop' for ascending, '-prop' for descending. Multiple params supported (e.g. sort=name&sort=-createdAt)

stringOptional
or
string[]Optional
Responses
chevron-right
200

List of Examples

application/json
get
/v2/catalog/versions/{versionId}/examples

Create Example

post

Create a new Example item.

Example is a reusable example that holds either an inline payload or an external reference for request or response bodies.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
versionIdstring · min: 30 · max: 30Required

Catalog version identifier

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
Body

Example is a reusable example that holds either an inline payload or an external reference for request or response bodies.

idstring · min: 31 · max: 31Optional

Object ID with prefix "expl_"

Default: expl_agob4v2per3ujmlkygemfcfokaExample: expl_c4x6k3w8j7n9b1z5s2t4m8q0ve
namestringOptional

Non-unique name of a reusable example; matches how it is referenced in API definitions.

Example: default
valueanyOptional

Inline example payload for the referenced content type.

Example: {"id":"123","name":"Example"}
externalValuestringOptional

URL pointing to an external example payload.

Example: https://example.com/sample.json
summarystringOptionalExample: Example user object
descriptionstringOptional

Example description in markdown.

Example: A sample user object demonstrating the expected structure.
descriptionBlocksany ofOptional

Example description in ProseMirror JSON blocks.

Example: {"type":"paragraph","content":[{"type":"text","text":"Example description in rich text format."}]}
or
versionIdstring · min: 30 · max: 30Required

Object ID with prefix "ver_"

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
updatedAtstring · nullableOptionalDefault: 2026-02-02T12:32:44.324ZExample: 2024-01-15T10:30:00.000Z
Responses
post
/v2/catalog/versions/{versionId}/examples

Get Example

get

Get a Example item by its id.

Example is a reusable example that holds either an inline payload or an external reference for request or response bodies.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
versionIdstring · min: 30 · max: 30Required

Catalog version identifier

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
idstring · min: 31 · max: 31Required

Example identifier

Example: expl_c4x6k3w8j7n9b1z5s2t4m8q0ve
Responses
chevron-right
200

Example details

application/json
get
/v2/catalog/versions/{versionId}/examples/{id}

Replace Example

post

Completely replaces a Example item by its id.

Example is a reusable example that holds either an inline payload or an external reference for request or response bodies.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
versionIdstring · min: 30 · max: 30Required

Catalog version identifier

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
idstring · min: 31 · max: 31Required

Example identifier

Example: expl_c4x6k3w8j7n9b1z5s2t4m8q0ve
Body

Example is a reusable example that holds either an inline payload or an external reference for request or response bodies.

idstring · min: 31 · max: 31Optional

Object ID with prefix "expl_"

Default: expl_agob4v2per3ujmlkygemfcfokaExample: expl_c4x6k3w8j7n9b1z5s2t4m8q0ve
namestringOptional

Non-unique name of a reusable example; matches how it is referenced in API definitions.

Example: default
valueanyOptional

Inline example payload for the referenced content type.

Example: {"id":"123","name":"Example"}
externalValuestringOptional

URL pointing to an external example payload.

Example: https://example.com/sample.json
summarystringOptionalExample: Example user object
descriptionstringOptional

Example description in markdown.

Example: A sample user object demonstrating the expected structure.
descriptionBlocksany ofOptional

Example description in ProseMirror JSON blocks.

Example: {"type":"paragraph","content":[{"type":"text","text":"Example description in rich text format."}]}
or
versionIdstring · min: 30 · max: 30Required

Object ID with prefix "ver_"

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
updatedAtstring · nullableOptionalDefault: 2026-02-02T12:32:44.324ZExample: 2024-01-15T10:30:00.000Z
Responses
chevron-right
200

Example replaced

application/json
post
/v2/catalog/versions/{versionId}/examples/{id}

Delete Example

delete

Delete a Example item by its id.

Example is a reusable example that holds either an inline payload or an external reference for request or response bodies.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
versionIdstring · min: 30 · max: 30Required

Catalog version identifier

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
idstring · min: 31 · max: 31Required

Example identifier

Example: expl_c4x6k3w8j7n9b1z5s2t4m8q0ve
Responses
delete
/v2/catalog/versions/{versionId}/examples/{id}

No content

Update Example

patch

Partially updates a Example item by its id.

Example is a reusable example that holds either an inline payload or an external reference for request or response bodies.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
versionIdstring · min: 30 · max: 30Required

Catalog version identifier

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
idstring · min: 31 · max: 31Required

Example identifier

Example: expl_c4x6k3w8j7n9b1z5s2t4m8q0ve
Body
idstring · min: 31 · max: 31Optional

Object ID with prefix "expl_"

Default: expl_agob4v2per3ujmlkzcv2yov2t4Example: expl_c4x6k3w8j7n9b1z5s2t4m8q0ve
namestringOptional

Non-unique name of a reusable example; matches how it is referenced in API definitions.

Example: default
valueanyOptional

Inline example payload for the referenced content type.

Example: {"id":"123","name":"Example"}
externalValuestringOptional

URL pointing to an external example payload.

Example: https://example.com/sample.json
summarystringOptionalExample: Example user object
descriptionstringOptional

Example description in markdown.

Example: A sample user object demonstrating the expected structure.
descriptionBlocksany ofOptional

Example description in ProseMirror JSON blocks.

Example: {"type":"paragraph","content":[{"type":"text","text":"Example description in rich text format."}]}
or
versionIdstring · min: 30 · max: 30Optional

Object ID with prefix "ver_"

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
updatedAtstring · nullableOptionalDefault: 2026-02-02T12:32:44.324ZExample: 2024-01-15T10:30:00.000Z
Responses
chevron-right
200

Example updated

application/json
patch
/v2/catalog/versions/{versionId}/examples/{id}

List Examples

get

List all Examples items.

Example is a reusable example that holds either an inline payload or an external reference for request or response bodies.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
projectRefany ofRequired

Project slug or project id (proj_*)

string · min: 31 · max: 31Optional

Object ID with prefix "proj_"

Example: proj_c4x6k3w8j7n9b1z5s2t4m8q0ve
or
string · min: 1Optional
versionTypestring · enumRequired

Version type, can be either 'branch' or 'environment'

Example: branchPossible values:
versionSlugstring · min: 1Required

Version slug

Example: main
Query parameters
afterstringOptional

Cursor for pagination (item ID)

limitinteger · min: 1 · max: 1000Optional

Maximum number of items to return (default: 50, max: 1000)

Default: 50
sortany ofOptional

Sort order. Use 'prop' for ascending, '-prop' for descending. Multiple params supported (e.g. sort=name&sort=-createdAt)

stringOptional
or
string[]Optional
Responses
chevron-right
200

List of Examples

application/json
get
/v2/catalog/projects/{projectRef}/{versionType}/{versionSlug}/examples

Create Example

post

Create a new Example item.

Example is a reusable example that holds either an inline payload or an external reference for request or response bodies.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
projectRefany ofRequired

Project slug or project id (proj_*)

string · min: 31 · max: 31Optional

Object ID with prefix "proj_"

Example: proj_c4x6k3w8j7n9b1z5s2t4m8q0ve
or
string · min: 1Optional
versionTypestring · enumRequired

Version type, can be either 'branch' or 'environment'

Example: branchPossible values:
versionSlugstring · min: 1Required

Version slug

Example: main
Body

Example is a reusable example that holds either an inline payload or an external reference for request or response bodies.

idstring · min: 31 · max: 31Optional

Object ID with prefix "expl_"

Default: expl_agob4v2per3ujmlkygemfcfokaExample: expl_c4x6k3w8j7n9b1z5s2t4m8q0ve
namestringOptional

Non-unique name of a reusable example; matches how it is referenced in API definitions.

Example: default
valueanyOptional

Inline example payload for the referenced content type.

Example: {"id":"123","name":"Example"}
externalValuestringOptional

URL pointing to an external example payload.

Example: https://example.com/sample.json
summarystringOptionalExample: Example user object
descriptionstringOptional

Example description in markdown.

Example: A sample user object demonstrating the expected structure.
descriptionBlocksany ofOptional

Example description in ProseMirror JSON blocks.

Example: {"type":"paragraph","content":[{"type":"text","text":"Example description in rich text format."}]}
or
versionIdstring · min: 30 · max: 30Required

Object ID with prefix "ver_"

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
updatedAtstring · nullableOptionalDefault: 2026-02-02T12:32:44.324ZExample: 2024-01-15T10:30:00.000Z
Responses
post
/v2/catalog/projects/{projectRef}/{versionType}/{versionSlug}/examples

Get Example

get

Get a Example item by its id.

Example is a reusable example that holds either an inline payload or an external reference for request or response bodies.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
projectRefany ofRequired

Project slug or project id (proj_*)

string · min: 31 · max: 31Optional

Object ID with prefix "proj_"

Example: proj_c4x6k3w8j7n9b1z5s2t4m8q0ve
or
string · min: 1Optional
versionTypestring · enumRequired

Version type, can be either 'branch' or 'environment'

Example: branchPossible values:
versionSlugstring · min: 1Required

Version slug

Example: main
idstring · min: 31 · max: 31Required

Example identifier

Example: expl_c4x6k3w8j7n9b1z5s2t4m8q0ve
Responses
chevron-right
200

Example details

application/json
get
/v2/catalog/projects/{projectRef}/{versionType}/{versionSlug}/examples/{id}

Replace Example

post

Completely replaces a Example item by its id.

Example is a reusable example that holds either an inline payload or an external reference for request or response bodies.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
projectRefany ofRequired

Project slug or project id (proj_*)

string · min: 31 · max: 31Optional

Object ID with prefix "proj_"

Example: proj_c4x6k3w8j7n9b1z5s2t4m8q0ve
or
string · min: 1Optional
versionTypestring · enumRequired

Version type, can be either 'branch' or 'environment'

Example: branchPossible values:
versionSlugstring · min: 1Required

Version slug

Example: main
idstring · min: 31 · max: 31Required

Example identifier

Example: expl_c4x6k3w8j7n9b1z5s2t4m8q0ve
Body

Example is a reusable example that holds either an inline payload or an external reference for request or response bodies.

idstring · min: 31 · max: 31Optional

Object ID with prefix "expl_"

Default: expl_agob4v2per3ujmlkygemfcfokaExample: expl_c4x6k3w8j7n9b1z5s2t4m8q0ve
namestringOptional

Non-unique name of a reusable example; matches how it is referenced in API definitions.

Example: default
valueanyOptional

Inline example payload for the referenced content type.

Example: {"id":"123","name":"Example"}
externalValuestringOptional

URL pointing to an external example payload.

Example: https://example.com/sample.json
summarystringOptionalExample: Example user object
descriptionstringOptional

Example description in markdown.

Example: A sample user object demonstrating the expected structure.
descriptionBlocksany ofOptional

Example description in ProseMirror JSON blocks.

Example: {"type":"paragraph","content":[{"type":"text","text":"Example description in rich text format."}]}
or
versionIdstring · min: 30 · max: 30Required

Object ID with prefix "ver_"

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
updatedAtstring · nullableOptionalDefault: 2026-02-02T12:32:44.324ZExample: 2024-01-15T10:30:00.000Z
Responses
chevron-right
200

Example replaced

application/json
post
/v2/catalog/projects/{projectRef}/{versionType}/{versionSlug}/examples/{id}

Delete Example

delete

Delete a Example item by its id.

Example is a reusable example that holds either an inline payload or an external reference for request or response bodies.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
projectRefany ofRequired

Project slug or project id (proj_*)

string · min: 31 · max: 31Optional

Object ID with prefix "proj_"

Example: proj_c4x6k3w8j7n9b1z5s2t4m8q0ve
or
string · min: 1Optional
versionTypestring · enumRequired

Version type, can be either 'branch' or 'environment'

Example: branchPossible values:
versionSlugstring · min: 1Required

Version slug

Example: main
idstring · min: 31 · max: 31Required

Example identifier

Example: expl_c4x6k3w8j7n9b1z5s2t4m8q0ve
Responses
delete
/v2/catalog/projects/{projectRef}/{versionType}/{versionSlug}/examples/{id}

No content

Update Example

patch

Partially updates a Example item by its id.

Example is a reusable example that holds either an inline payload or an external reference for request or response bodies.

Authorizations
AuthorizationstringRequired

Project API key authentication. Use your project API key as a Bearer token in the Authorization header.

Path parameters
projectRefany ofRequired

Project slug or project id (proj_*)

string · min: 31 · max: 31Optional

Object ID with prefix "proj_"

Example: proj_c4x6k3w8j7n9b1z5s2t4m8q0ve
or
string · min: 1Optional
versionTypestring · enumRequired

Version type, can be either 'branch' or 'environment'

Example: branchPossible values:
versionSlugstring · min: 1Required

Version slug

Example: main
idstring · min: 31 · max: 31Required

Example identifier

Example: expl_c4x6k3w8j7n9b1z5s2t4m8q0ve
Body
idstring · min: 31 · max: 31Optional

Object ID with prefix "expl_"

Default: expl_agob4v2per3ujmlk2cfnk4x7leExample: expl_c4x6k3w8j7n9b1z5s2t4m8q0ve
namestringOptional

Non-unique name of a reusable example; matches how it is referenced in API definitions.

Example: default
valueanyOptional

Inline example payload for the referenced content type.

Example: {"id":"123","name":"Example"}
externalValuestringOptional

URL pointing to an external example payload.

Example: https://example.com/sample.json
summarystringOptionalExample: Example user object
descriptionstringOptional

Example description in markdown.

Example: A sample user object demonstrating the expected structure.
descriptionBlocksany ofOptional

Example description in ProseMirror JSON blocks.

Example: {"type":"paragraph","content":[{"type":"text","text":"Example description in rich text format."}]}
or
versionIdstring · min: 30 · max: 30Optional

Object ID with prefix "ver_"

Example: ver_c4x6k3w8j7n9b1z5s2t4m8q0ve
updatedAtstring · nullableOptionalDefault: 2026-02-02T12:32:44.324ZExample: 2024-01-15T10:30:00.000Z
Responses
chevron-right
200

Example updated

application/json
patch
/v2/catalog/projects/{projectRef}/{versionType}/{versionSlug}/examples/{id}

Last updated