Tickets โ
Inbound requests to run a Blueprint. A ticket is the "this is what I want done" record โ it captures who requested the work, which blueprint to run, and the input values. Tickets are typically created automatically by upstream events (form submissions, API callers, scheduled triggers); these endpoints are the read surface for inspecting them.
Scopes โ
| Scope | Reach |
|---|---|
blueprints:read | Listing, reading, viewing filters. |
TIP
Tickets are read-only via the public API. They are produced by the runtime when external triggers (forms, scheduled jobs, programmatic submissions) request a blueprint run. To inspect what happened after a ticket was processed, follow it to its Assembly.
Endpoints โ
List Tickets โ
GET /api/factory/tickets/
Returns a page of ticket records.
Required scope: blueprints:read ยท also accepts API key
Query parameters โ standard pagination set; see Conventions โบ Pagination. Defaults: sort_by=created, sort_order=desc. (No hydrate flag on this resource.)
Response 200 โ TicketInDbCursorPage
Get Ticket Filter Metadata โ
GET /api/factory/tickets/filters
Returns filter/operator/sort options for List Tickets.
Required scope: blueprints:read
Response 200 โ open metadata object.
Get Ticket by ID โ
GET /api/factory/tickets/{id}
Returns a single ticket record.
Required scope: blueprints:read ยท also accepts API key
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Ticket ID. |
Response 200 โ TicketRead
See also โ
- Blueprints โ the workflow definition a ticket targets.
- Assemblies โ the execution record that follows a ticket.
- Forms โบ Submissions โ form submissions are a common trigger for creating tickets.
