List Agent Sessions

Changed on

List sessions on a Story or Epic, newest first.

get/api/v4/{workspace-slug}/agent-sessions

Request

  • Base URL: https://api.app.shortcut.com
  • URL: https://api.app.shortcut.com/api/v4/{workspace-slug}/agent-sessions
  • Auth: HTTP bearer

Path parameters

workspace-slugstring required

The slug for the Workspace.

Query parameters

entity_type'story' | 'epic' required

The type of entity the sessions belong to.

entity_idinteger required

The public ID of the Story or Epic.

cursorinteger

The next_cursor value from the previous page.

limitinteger

Maximum number of sessions to return, 1-100. Defaults to 50.

Response

Resource

next_cursorstring nullable required

Changes