Identity Actors
Identity actors represent people or agents that can own identities and participate in delegations.
Identity Actors object
Attributes
object
StringString representing the object's type
id
StringUnique identity actor identifier.
type
EnumType of actor that owns or participates in identities.
status
EnumCurrent lifecycle status of the identity actor.
name
StringHuman-readable name of the identity actor.
description
StringNullableOptional description of the actor.
metadata
ObjectNullableAdditional metadata associated with the actor.
agent_id
StringNullableLinked agent identifier when this actor represents an agent.
created_at
DateTimestamp when the actor was created.
updated_at
DateTimestamp when the actor was last updated.
{"object": "identity.actor","id": "iac_6wQpLk2mZa8nYx4b","type": "person","status": "active","name": "Build Bot","description": "CI agent used for release automation","metadata": {},"agent_id": "agt_4mNoPq8rSt2uVx6y","created_at": "2026-02-03T10:15:00.000Z","updated_at": "2026-02-10T14:30:00.000Z"}
List identity actors
Returns a paginated list of identity actors for the instance.
Query Parameters
limit
NumberOptionalafter
StringOptionalbefore
StringOptionalcursor
StringOptionalorder
EnumOptionalsearch
StringOptionalFilter actors by name or description.
status
UnionOptionalFilter by one or more actor statuses.
id
UnionOptionalFilter by identity actor ID or IDs.
agent_id
UnionOptionalFilter by linked agent ID or IDs.
consumer_id
UnionOptionalFilter by linked consumer ID or IDs.
created_at
ObjectOptionalFilter identity actor creation time by date range
updated_at
ObjectOptionalFilter identity actor last update time by date range
curl -X GET "https://api.metorial.com/identity-actors" \-H "Authorization: Bearer metorial_sk_..."
Get identity actor
Retrieves a specific identity actor by ID.
URL Parameters
identity_actor_id
StringThe unique identifier for the identity_actor
curl -X GET "https://api.metorial.com/identity-actors/ide_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."
Create identity actor
Creates a new identity actor.
Request Body
type
EnumWhether this actor is a person or an agent.
name
StringHuman-readable display name for the actor.
description
StringOptionalOptional description of the actor.
metadata
ObjectOptionalAdditional metadata to store on the actor.
curl -X POST "https://api.metorial.com/identity-actors" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"type": "person","name": "example_name","description": "example_description","metadata": {}}'
Update identity actor
Updates mutable fields on an existing identity actor.
URL Parameters
identity_actor_id
StringThe unique identifier for the identity_actor
Request Body
name
StringOptionalUpdated display name for the actor.
description
StringOptionalUpdated description for the actor.
metadata
ObjectOptionalUpdated metadata for the actor.
curl -X PATCH "https://api.metorial.com/identity-actors/ide_Rm4Mnheq2bfEPhBhP7SY" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"name": "example_name","description": "example_description","metadata": {}}'
Delete identity actor
Archives an identity actor.
URL Parameters
identity_actor_id
StringThe unique identifier for the identity_actor
curl -X DELETE "https://api.metorial.com/identity-actors/ide_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."