API by router
Entity store
GET
instance_id*Instance IdFormat
uuidSuccessful Response
response?unknownapplication/jsoncurl -X GET 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/entity-definitions'Example Response
nullGET
instance_id*Instance IdFormat
uuidslug*SlugSuccessful Response
response?unknownapplication/jsoncurl -X GET 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/entity-definitions/string'Example Response
nullGET
instance_id*Instance IdFormat
uuidcustomer_id*Customer IdFormat
uuidnamespace*Namespacekey*KeySuccessful Response
response?unknownapplication/jsoncurl -X GET 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/entity-kv?customer_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&namespace=string&key=string'Example Response
nullDELETE
instance_id*Instance IdFormat
uuidcustomer_id*Customer IdFormat
uuidnamespace*Namespacekey*KeySuccessful Response
curl -X DELETE 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/entity-kv?customer_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&namespace=string&key=string'Example Response
Empty
PUT
instance_id*Instance IdFormat
uuidapplication/json- body
customer_id*Customer IdFormat
uuidexpires_at?|nullkey*KeyLength
1 <= length <= 255namespace*NamespaceLength
1 <= length <= 100value*Successful Response
response?unknownapplication/jsoncurl -X PUT 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/entity-kv' \ -H 'Content-Type: application/json' \ -d '{ "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "key": "string", "namespace": "string", "value": {}}'Example Response
nullPOST
instance_id*Instance IdFormat
uuidapplication/json- body
customer_id*Customer IdFormat
uuidentries*array<>List of {key, value, expires_at?}
namespace*NamespaceLength
1 <= length <= 100Successful Response
response?unknownapplication/jsoncurl -X POST 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/entity-kv/batch' \ -H 'Content-Type: application/json' \ -d '{ "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "entries": [ {} ], "namespace": "string"}'Example Response
nullGET
instance_id*Instance IdFormat
uuidcustomer_id*Customer IdFormat
uuidnamespace*NamespaceSuccessful Response
response?unknownapplication/jsoncurl -X GET 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/entity-kv/list?customer_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&namespace=string'Example Response
nullGET
instance_id*Instance IdFormat
uuidcustomer_id*Customer IdFormat
uuiddefinition_slug?string|nulldefinition_id?|nullstatus?string|nulltag?string|nullsearch?|Full-text search via tsvector (indexed, requires searchable_fields on definition)
limit?LimitRange
1 <= value <= 200Default
50offset?OffsetRange
0 <= valueDefault
0Successful Response
response?unknownapplication/jsoncurl -X GET 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/entity-records?customer_id=497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
nullPOST
instance_id*Instance IdFormat
uuidapplication/json- body
created_by?|nullcustomer_id*Customer IdFormat
uuiddata?definition_id?|nulldefinition_slug?string|nulltags?array<string>|nullSuccessful Response
response?unknownapplication/jsoncurl -X POST 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/entity-records' \ -H 'Content-Type: application/json' \ -d '{ "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e"}'Example Response
nullGET
instance_id*Instance IdFormat
uuidrecord_id*Record IdFormat
uuidSuccessful Response
response?unknownapplication/jsoncurl -X GET 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/entity-records/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
nullPATCH
instance_id*Instance IdFormat
uuidrecord_id*Record IdFormat
uuidapplication/json- body
data?|nullstatus?|nulltags?array<string>|nullSuccessful Response
response?unknownapplication/jsoncurl -X PATCH 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/entity-records/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
nullDELETE
instance_id*Instance IdFormat
uuidrecord_id*Record IdFormat
uuidSuccessful Response
curl -X DELETE 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/entity-records/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
Empty
GET
instance_id*Instance IdFormat
uuidrecord_id*Record IdFind relationships for this record
Format
uuidrelationship_type?string|nulldirection?DirectionMatch
^(from|to|both)$Default
"both"Successful Response
response?unknownapplication/jsoncurl -X GET 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/entity-relationships?record_id=497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
nullPOST
instance_id*Instance IdFormat
uuidapplication/json- body
from_record_id*From Record IdFormat
uuidmetadata?|nullrelationship_type*Relationship TypeLength
1 <= length <= 50to_record_id*To Record IdFormat
uuidSuccessful Response
response?unknownapplication/jsoncurl -X POST 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/entity-relationships' \ -H 'Content-Type: application/json' \ -d '{ "from_record_id": "970e0aa8-b390-4ddc-afe1-fb4fc01a08b0", "relationship_type": "string", "to_record_id": "248de304-16b0-46af-b270-faee1be109a5"}'Example Response
nullDELETE
instance_id*Instance IdFormat
uuidrelationship_id*Relationship IdFormat
uuidSuccessful Response
curl -X DELETE 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/entity-relationships/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
Empty
GET
HTTPBearerheader
AuthorizationBearer <token>X-Api-Key?string|nullSuccessful Response
response?unknownapplication/jsoncurl -X GET 'https://example.com/v1/entity-definitions'Example Response
nullPOST
HTTPBearerheader
AuthorizationBearer <token>X-Api-Key?string|nullapplication/json- body
color?|nulldescription?string|nulldisplay_name*Display NameLength
1 <= length <= 200field_sensitivity?|field_name → standard|sensitive|restricted
icon?|nullschema?|nullsearchable_fields?array<string>|nullslug*SlugMatch
^[a-z][a-z0-9_]*$Length
1 <= length <= 100Successful Response
response?unknownapplication/jsoncurl -X POST 'https://example.com/v1/entity-definitions' \ -H 'Content-Type: application/json' \ -d '{ "display_name": "string", "slug": "string"}'Example Response
nullPATCH
HTTPBearerheader
AuthorizationBearer <token>definition_id*Definition IdFormat
uuidX-Api-Key?string|nullapplication/json- body
color?|nulldescription?string|nulldisplay_name?|nullfield_sensitivity?|field_name → standard|sensitive|restricted
icon?|nullschema?|nullsearchable_fields?array<string>|nullSuccessful Response
response?unknownapplication/jsoncurl -X PATCH 'https://example.com/v1/entity-definitions/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
nullDELETE
HTTPBearerheader
AuthorizationBearer <token>definition_id*Definition IdFormat
uuidX-Api-Key?string|nullSuccessful Response
curl -X DELETE 'https://example.com/v1/entity-definitions/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
Empty
GET
HTTPBearerheader
AuthorizationBearer <token>customer_id*Customer IdFormat
uuidnamespace?string|nullX-Api-Key?string|nullSuccessful Response
response?unknownapplication/jsoncurl -X GET 'https://example.com/v1/entity-kv?customer_id=497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
nullGET
HTTPBearerheader
AuthorizationBearer <token>customer_id?|nulldefinition_id?|nullstatus?string|nulllimit?LimitRange
1 <= value <= 200Default
50offset?OffsetRange
0 <= valueDefault
0X-Api-Key?string|nullSuccessful Response
response?unknownapplication/jsoncurl -X GET 'https://example.com/v1/entity-records'Example Response
null