/akash/cert/v1/certificates/list - Akash

Returns mTLS certificates registered on-chain. Deployments and providers use these certificates to authenticate the client-provider connection.

Endpoint

GET /akash/cert/v1/certificates/list

Query Parameters

ParameterTypeDescription
filter.ownerstringOwner address
filter.statestringvalid or revoked
filter.serialstringCertificate serial

Example

bashexport AKASH_REST=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl "${AKASH_REST}akash/cert/v1/certificates/list?pagination.limit=1"

Response

json{
    "certificates": [
        {
            "certificate": {
                "state": "valid",
                "cert": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlCbXpDQ0FVR2dBd0lCQWdJSEJpbURkQVhLR0RB...",
                "pubkey": "LS0tLS1CRUdJTiBFQyBQVUJMSUMgS0VZLS0tLS0NCk1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERB..."
            },
            "serial": "1734494424255000"
        }
    ],
    "pagination": {
        "next_key": "rChFCQIBAgIRAR0UAABWKhORnoNQejBl+6jeybTC4AoHBi1xezFhIA==",
        "total": "1"
    }
}

Response Fields

FieldTypeDescription
certificatesarrayRegistered certificates with state and serial

Use Cases

  • Auth: List a user's deployment certificates
  • Providers: Validate client certificates

Error Handling

ErrorMessageDescription
400 / Bad requestBad requestA parameter was invalid
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect