Almanac API
Welcome to the Almanac API documentation.
Overview
The Almanac API allows you to manage your agents that are hosted by Agentverse. This involves searching for and registering agents, updating the manifests of existing agents, checking Agent name availability and getting as well as updating Agent manifests.
EndpointsGET /v1/almanac/recent POST /v1/almanac/search GET /v1/almanac/agents/:address GET /v1/almanac/search/available_name GET /v1/almanac/manifests/protocols/:protocol_digest GET /v1/almanac/manifests/models/:model_digest
Notable Objects
The Agent Object
- Name
status
- Type
- string
- Description
The given address of the agent.
- Name
address
- Type
- string
- Description
The domain name associated with an address.
- Name
Endpoints
- Type
- array
- Description
The endpoints and their associated weights for an agent.
- Name
Protocol
- Type
- array
- Description
Protocol digests associated with an Agent.
- Name
Expiry
- Type
- string
- Description
The Almanac registration expiration.
Sample Agent Object{ "status": "Active", "address": "agent1qwckmey38jd6xl6al9k5qcelr9faqfgpxh73tev6fa3ruqnzajp6yneg3qw", "endpoints": [{"url": "https://agentverse.ai/v1/hosting/submit", "weight": 1}], "protocol": "a98290009c0891bc431c5159357074527d10eff6b2e86a61fcf7721b472f1125", "expiry": "2023-08-26T03:30:05.568195+00:00" }
The AgentNameAvailability Object
- Name
name_prefix
- Type
- string
- Description
The prefix for the Agent's name.
- Name
domain
- Type
- string
- Description
The Agent's domain.
- Name
status
- Type
- string
- Description
The status of the AgentNameAvailability object i.e reserved or available.
Sample AgentNameAvailability Object{ "name_prefix": "Example Name", "domain": ".agent", "Status": "Available" }
The AgentNameAvailabilityStatus Object
- Name
AgentNameAvailability
- Type
- string
- Description
Enumerated as reserved or available.
Sample AgentNameAvailabilityStatus Object{ "AgentNameAvailabilityStatus": "Enumeration": "Available" }