Search & Analytics

Search Completions

Query LLM completions using advanced filters. Use to find specific prompts and responses, filter by evaluation results or metadata, prompt templates, latency, and more.

Supports pagination and optional inclusion of all child 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/completions

Request

Path parameters

project_idstring required

Query parameters

pageinteger
page_sizeinteger
include_childrenboolean

Request body

Response

CompletionSearchResponse(data: Union[List[server.search_api.types.CompletionSearchInfo], List[server.search_api.types.CompletionSearchInfoWithChildren]], pagination: server.api_routes.api_v2_common.PaginationInfo)

Changes

No recorded changes to this operation across all 1 revision of this API.