examples
Count Examples
Changed onCount the examples that match the filters.
get/api/v1/examples/count
Request
- Base URLhttps://api.smith.langchain.com
- URLhttps://api.smith.langchain.com/api/v1/examples/count
- Auth
- API key in header X-API-Key
- or API key in header X-Tenant-Id
- or HTTP bearer
Query parameters
idstring[] nullable
Only count examples with these IDs.
metadatastring nullable
JSON object. Only count examples whose metadata contains it.
full_text_containsstring[] nullable
Only count examples whose inputs or outputs contain every one of these terms, ignoring case.
splitsstring[] nullable
Only count examples in any of these splits.
datasetstring uuid nullable
Only count examples in this dataset.
filterstring nullable
Filter expression the examples must match.
Response
Successful Response
integer required
Changes
- breaking
the
/response's property type changed fromobjecttostringfor status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status
- breaking