agent
[BETA] List workspace agent sessions
List agent sessions for the workspace (user-scoped server-side).
get/agent/sessions
Request
- Base URLhttps://api.getpg.ai/public-api/v1
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageinteger
Page number
per_pageinteger
Page size. Default 25, maximum 50 on all list endpoints. Omit to use the default; increase up to 50 only if you need larger pages.
statusstring
Filter by status
typestring
Filter by session type
company_idstring
Filter by company UUID
searchstring
Search
sort_bystring
Sort field
sort_orderstring
Sort order
Response
Success
object required
Response data
Changes
No recorded changes to this operation across all 1 revision of this API.