Overview
Theagents sub-client manages the lifecycle of AI agents in your Grantex organization. Each agent receives a unique decentralized identifier (DID) and can request scoped grants from users.
agents.register()
Register a new agent with the Grantex service.Parameters
The maximum set of scopes this agent can request. Authorization requests must use a subset of these scopes.
Response: Agent
agents.get()
Retrieve a single agent by its ID.Parameters
Response
Returns anAgent object.
agents.list()
List all agents in your organization.Response: ListAgentsResponse
agents.update()
Update an existing agent’s name, description, or scopes.Parameters
Response
Returns the updatedAgent object.
agents.delete()
Delete an agent. This revokes the agent’s DID and all active grants.Parameters
Response
Returnsvoid.