Item API

API to manage configuration items and records in Ketryx

Ketryx exposes an API to manage configuration items programmatically. See also the documentation on authentication and API keys and webhooks.

These API endpoints generally use pagination, based on the query parameters startAt and maxResults. The maximum number of entries to return at once is 1000. The effective values of startAt and maxResults is also returned as part of the API response.

Items

Read all items in a project

get
Path parameters
projectIdstringRequired

Ketryx ID of the project to query items for

Query parameters
startAtintegerOptional

Index to start at. Defaults to 0.

Default: 0
maxResultsinteger · min: 1 · max: 1000Optional

Maximum number of results to return

Default: 1000
Responses
chevron-right
200

Successful response

application/json
get
/projects/{projectId}/items

Item records

The fields query parameter allows you to selectively include additional data in the response. You can specify one or more fields as a comma-separated list (e.g., fields=approvalState,otherField). Available fields include:

  • approvalState: Returns detailed approval information including approval steps, approving users, and approval blockers

Read all item records for an item

get
Path parameters
projectIdstringRequired

Ketryx ID of the project

itemIdstringRequired

Ketryx ID of the item

Query parameters
fieldsstringOptional
startAtintegerOptional

Index to start at. Defaults to 0.

Default: 0
maxResultsinteger · min: 1 · max: 1000Optional

Maximum number of results to return

Default: 1000
Responses
chevron-right
200

Successful response

application/json
get
/projects/{projectId}/items/{itemId}/records

Query project records

The fields query parameter allows you to selectively include additional data in the response. You can specify one or more fields as a comma-separated list (e.g., fields=approvalState,otherField). Available fields include:

  • approvalState: Returns detailed approval information including approval steps, approving users, and approval blockers

Use this API to query records based on a KQL query.

Query item records in a project

get
Path parameters
projectIdstringRequired

Ketryx ID of the project

Query parameters
versionIdstringOptional
comparedVersionIdstringOptional
fieldsstringOptional
querystringRequired

KQL query string

startAtintegerOptional

Index to start at. Defaults to 0.

Default: 0
maxResultsinteger · min: 1 · max: 1000Optional

Maximum number of results to return

Default: 1000
Responses
chevron-right
200

Successful response

application/json
get
/projects/{projectId}/records

Create or update an item

circle-info

This API endpoint is currently in preview and is accessible only behind a feature flag. Please contact Ketryx Supportarrow-up-right for assistance.

Depending on the use case, this API can be used in two ways:

  • Update an existing item – Include the id field in the request body with the Ketryx item ID (e.g., KXITM12345). Note that if the item is sourced from Jira or other integrations, the source system is considered the source of truth, and the project update may override/reset changes applied via the API.

  • Bring your own items – Include the sourceId field in the request body with a stable, unique identifier for the item. If the sourceId already exists, the item will be updated. If not, a new item will be created.

Create or patch an existing item in a project (subject to change)

post
Path parameters
projectIdstringRequired

Ketryx ID of the project, e.g., KXPRJ12345

Pattern: ^KXPRJ[A-Z0-9]{26}
Body
Responses
chevron-right
200

Successful response

application/json
post
/projects/{projectId}/items

Last updated

Was this helpful?