Overview
Namespaces are the core identity primitive in Sigilum. Each namespace maps to a DID (did:sigilum:<namespace>) and serves as the authorization boundary for agents.
Resolve Namespace
Resolve a namespace to its current metadata and active claim count.
Path Parameters
Namespace identifier (3-64 characters, alphanumeric and hyphens, must start and end with alphanumeric).Example:
acme-corpResponse
Decentralized identifier for the namespace.Example:
did:sigilum:acme-corpThe namespace identifier.
User ID of the namespace owner.
ISO 8601 timestamp when namespace was created.
Whether the namespace is currently active.
Number of currently approved authorizations in this namespace.
Example Request
Error Responses
| Status | Description |
|---|---|
| 400 | Invalid namespace format |
| 401 | Missing or invalid signature |
| 404 | Namespace not found |
| 503 | Database unavailable |
List Approved Service Authorizations
Get approved authorization records for a service across namespaces (cache feed).
Authentication
Service API key as Bearer token.
Query Parameters
Service slug filter. Must match the authenticated service when provided.Example:
my-serviceMaximum number of claims to return (1-2000).
Number of claims to skip.
Response
Array of approved authorization records.
Unique claim identifier.
Namespace the claim belongs to.
Agent public key (format:
ed25519:<base64>).Service slug.
ISO 8601 timestamp when claim was approved.
Subject identifier if provided.
Agent ID if provided.
Agent name if provided.
Example Request
Error Responses
| Status | Description |
|---|---|
| 401 | Missing or invalid API key or signature |
| 403 | Service mismatch (service param doesn’t match authenticated service) |
Get Namespace Authorization Requests
List authorization requests for a namespace with optional filtering.
Path Parameters
Namespace identifier.
Query Parameters
Filter by claim status.Values:
pending, approved, revoked, rejected, expiredFilter by service slug.
Maximum number of claims to return (1-200).
Number of claims to skip.
Response
Array of authorization request records.
Unique claim identifier.
Namespace identifier.
Service slug.
Agent public key.
IP address of agent at submission time.
Current claim status:
pending, approved, revoked, rejected, expired.When claim was created.
When claim was approved (if applicable).
When claim was revoked (if applicable).
Blockchain transaction hash for approval (if blockchain enabled).
Blockchain transaction hash for revocation (if blockchain enabled).
Subject identifier.
Agent identifier.
Agent display name.
Pagination metadata.
Example Request
Error Responses
| Status | Description |
|---|---|
| 400 | Invalid query parameters |
| 401 | Not authenticated |
| 403 | Not authorized for this namespace |
| 503 | Database unavailable |