Search & Analytics
Search Sessions
Query sessions using advanced filters. Use to find specific conversations or filter by metadata.
Supports pagination and optional inclusion of all traces and completions within the session, using the include_children parameter.
page_size defaults to 30, maximum 100.
For filter operators and examples, see: https://docs.freeplay.ai/openapi/search-api-operators
post/api/v2/projects/{project_id}/search/sessions
Request
- Base URLhttps://app.freeplay.ai (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
project_idstring required
Query parameters
pageinteger
page_sizeinteger
include_childrenboolean
Request body
Response
SessionSearchResponse(data: Union[List[server.search_api.types.SessionSearchInfo], List[server.search_api.types.SessionSearchInfoWithChildren]], pagination: server.api_routes.api_v2_common.PaginationInfo)
Changes
No recorded changes to this operation across all 1 revision of this API.