List activity
Code Mode: praxis.ticket.activity.retrieve
HTTP: GET /ticket/v1/activity
List activity within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Pass next_page_token as page_token to continue with the same filter. Service authorization applies to the verified human subject.
Signature
praxis.ticket.activity.retrieve(args?:{query?:{/** Opaque repository id. */ repository?:string;/** Page size. */ page_size?:number;/** Opaque cursor. */ page_token?:string;/** Activity filter expression. */ filter?:string}}):Promise<{/** Selected activity records. */ activity:Array<{/** Opaque identifier returned by this resource's create or list operation. */ id:string;/** When this write occurred. e.g. "2026-12-01T00:00:00Z" */ occurred_at:string;/** Opaque identifier returned by this resource's create or list operation. */ repository:string;/** Repository-local number returned by create or list; distinct from the object's id. */ ticket_number:number;/** Title associated with this activity. */ ticket_title:string;/** Opaque human:<user_id> or agent:<individual_id> subject. pattern: ^(human|agent):.+$ e.g. "human:usr_example" */ actor:string;/** human or agent, derived from actor. */ actor_kind:string;/** Write or timeline action. */ action:string;/** Previous value. */ from:string|null;/** New value. */ to:string|null;/** Additional action details. */ detail:string|null;/** Opaque identifier returned by this resource's create or list operation. */ cause_id:string|null;/** Opaque identifier returned by this resource's create or list operation. */ connection_ref_id:string|null;/** Entry surface that caused the write. */ source:string}>;/** Opaque cursor for the next page; empty when exhausted. */ next_page_token:string}>;Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| repository | query | string | no | Repository id from GET /ticket/v1/repositories; omit for the default tickets container. |
| page_size | query | number | no | Records per page; defaults to 30, maximum 100. |
| page_token | query | string | no | Cursor returned as next_page_token; omit for the first page. |
| filter | query | string | no | Activity qualifiers: actor, actor-kind, action, ticket, source and since; passed unchanged to the service. |
Responses
| Status | Content types | Description |
|---|---|---|
| 200 | application/json | The operation succeeded; the body contains the requested resource or page. |
| 400 | Invalid native input or unsupported GitHub API version; correct the request before retrying. | |
| 401 | Credentials are absent or invalid; supply a valid API key or signed browser session. | |
| 403 | Machine token, application, insufficient organization role or locked conversation; use an authorized human credential. GitHub rate limiting also uses 403 with retry-after and x-ratelimit headers. | |
| 404 | Resource or repository is absent from this organization; a different owner has the identical missing-resource response. | |
| 410 | Ticket is gone; refresh the repository’s ticket list. | |
| 422 | Invalid GitHub input, duplicate name, dependency cycle or child/assignee limit; correct the reported fields or relationships. | |
| 429 | Native rate limit; wait for retry-after before retrying. |