Bevaya Logo
Bevaya API

Retrieve and manage items. Items are the products of flow runs, representing the unit of work processed by the system.


List items

GET
https://platform.bevaya.ai/api/v1
/items

Retrieve a paginated list of items. Filter by projectId (required) and optionally by flowId, status, assignee, date range, and more.

List items › query Parameters

projectId
​string · style: form · explode: true

Project to retrieve items for. Format: UUID. Example: 3c9e2625-7342-6d80-0219-6221506e7890. Either projectId or workspaceId must be provided.

workspaceId
​string · style: form · explode: true

Workspace to retrieve items for. Returns all items across all agents in the workspace. Format: UUID. Example: 3c9e2625-7342-6d80-0219-6221506e7890. Either projectId or workspaceId must be provided.

status
​client.ItemStatus[] · style: form · explode: true

Filter by item status. When omitted, items of all statuses are returned.

Enum values:
QUEUED
IN_PROGRESS
DEFERRED
REVIEW
COMPLETE
CLOSED
FAILED
CANCELED
assignedTo
​string · style: form · explode: true

Filter by the ID of the user currently assigned to the item. Format: UUID.

searchText
​string · style: form · explode: true

Full-text search across item names, summaries, and extracted field values.

createdAfter
​string · style: form · explode: true

Return only items created after this timestamp. ISO 8601 format. Example: 2026-01-01T00:00:00Z.

createdBefore
​string · style: form · explode: true

Return only items created before this timestamp. ISO 8601 format. Example: 2026-12-31T23:59:59Z.

updatedAfter
​string · style: form · explode: true

Return only items updated after this timestamp. ISO 8601 format.

updatedBefore
​string · style: form · explode: true

Return only items updated before this timestamp. ISO 8601 format.

page
​number · style: form · explode: true

1-indexed page number to retrieve. Default: 1.

limit
​number · style: form · explode: true

Number of items per page. Default: 20, max: 100.

flowName
​string · style: form · explode: true

Filter by flow name (fuzzy match) - prefix: flow:

flowId
​string · style: form · explode: true

Filter by exact flow ID - prefix: flow-id:

summary
​string · style: form · explode: true

Filter by agent summary (fuzzy match) - prefix: summary:

insight
​string · style: form · explode: true

Filter by insight field (fuzzy match) - prefix: insight:

fieldValue
​string · style: form · explode: true

Filter by extracted field value (fuzzy match) - prefix: field-value:

itemId
​string · style: form · explode: true

Filter by exact item UUID - prefix: id:

displayId
​string · style: form · explode: true

Filter by exact item displayId (numeric) - prefix: display-id:

displayNameFilter
​string · style: form · explode: true

Filter by display name (fuzzy match) - prefix: name:

reviewer
​string · style: form · explode: true

Filter by reviewer name (fuzzy match) - prefix: reviewer: Matches against the reviewer assigned to the item's open review, so an item whose last completed review had that reviewer does not match. The literal value none means "under active review with nobody assigned" — it does not match items that have no open review at all.

createdDate
​string · style: form · explode: true

Filter by created date (MM/DD/YYYY) - prefix: date:

reviewerId
​string · style: form · explode: true

Filter by the ID of the reviewer assigned to the item's active review. Exact match on item_reviews.reviewer_id. Format: UUID.

sortBy
​dtos.ItemSortFieldType · enum · style: form · explode: true

Field to sort results by. Default: createdAt.

Type for sort field values

Enum values:
createdAt
updatedAt
status
displayId
displayName
flowName
assignedToUser
sortOrder
​dtos.SortOrderType · enum · style: form · explode: true

Sort direction. Default: desc.

Type for sort order values

Enum values:
asc
desc

List items › Responses

Success response

​dtos.ItemListEntryDto[] · required

The list of items

​object · required
​object · required

Get item details

GET
https://platform.bevaya.ai/api/v1
/items/{id}

Retrieve a single item by ID.

Get item details › path Parameters

id
​string · required · style: simple

Get item details › Responses

Success response

​dtos.ItemDetailDto · required

Lean payload for GET /items/:id. Bounds the single-item response and removes the 3x FieldVersion.value duplication: - NO fields[] — sourced from GET /items/:id/fields (paginated) - documents[] is metadata only (no content, no nested fields[]) - itemReviews[].fieldVersions[] are references only - temporalWorkflowId is retained (item-review service depends on it)


List item fields

GET
https://platform.bevaya.ai/api/v1
/items/{id}/fields

Retrieve the extracted field values for a work item. Each field is one data point identified by its key, and carries only the version currently treated as its value. This endpoint does not return a field's full version history.

A field's value is JSON rather than a fixed type, because what a field holds depends on what was extracted: a scalar, an object, or an array of row objects for a table.

Filter by documentId to scope to a single document, or by key or type to narrow to particular fields. Fields with no documentId were extracted for the item as a whole rather than from one document.

List item fields › path Parameters

id
​string · required · style: simple

List item fields › query Parameters

documentId
​string · style: form · explode: true

Return only fields extracted from this document. Format: UUID. Omit to include both document-scoped and item-level fields.

key
​string · style: form · explode: true

Return only the field with this key. Matched exactly, not as a prefix or a pattern.

type
​string · style: form · explode: true

Return only fields of this type. Matched exactly against the field's declared type.

page
​number · style: form · explode: true

1-indexed page to retrieve. Defaults to 1. Capped at 100, so with the largest page size the last reachable field is the 10,000th.

limit
​number · style: form · explode: true

Number of fields per page. Between 1 and 100. Defaults to the service-wide page size.

List item fields › Responses

Success response

​dtos.FieldDto[] · required

The list of items

​object · required
​object · required