Relations
getRelatedEntitiesCount
Returns the amount of unique related entities for an entity - includes direct and reverse relations.
get/v2/entity/{slug}/{id}/relations/count
Request
- Base URLhttps://entity.sls.epilot.io
- URLhttps://entity.sls.epilot.io/v2/entity/{slug}/{id}/relations/count
- Auth
- HTTP bearer
- or API key in header x-epilot-org-id
Path parameters
slugstring required
URL-friendly identifier for the entity schema
Example:contact
Entity Type
idstring uuid required
Entity id
Query parameters
exclude_schemasEntity Slug[]
Filter results to exclude schemas
[ "contact" ]
Response
Success
Example response
{
"hits": 1
}Changes
No recorded changes to this operation across all 18 revisions of this API.