companies
[BETA] List agent sessions for a company
Retrieve agent sessions scoped to a company.
get/companies/{company_id}/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.
Path parameters
company_idstring required
Company ID (UUID)
Query parameters
pageinteger
Page number
per_pageinteger
Items per page
statusstring
Filter by status
typestring
Filter by type
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.