count_records
/entities/{entity_id}/records/countA service principal's credential, or a person's access token, AgentFlow's own or an installed app's. A service principal's effective permissions are its role permissions intersected with the credential's scopes.
In: header
Path Parameters
Entity id
uuidRequest Body
application/json
The filters to count
TypeScript Definitions
Use the request body type in TypeScript.
POST /entities/{entityId}/records/count request body — the operator's own
predicates (same model as query). The base floor + the caller's field
access are server-derived, never on the wire.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/records/count" \ -H "Content-Type: application/json" \ -d '{}'{ "capped": true, "count": 0}