For the complete documentation index, see llms.txt. This page is also available as Markdown.

Schema

List all credential schemas

get

Retrieves all credential schemas

Query parameters
typestringOptional

Filter by schema type

namestringOptional

Filter by schema name

versionnumber · doubleOptional

Filter by schema version

sortBystring · enumOptional

Sort field

Possible values:
sortOrderstring · enumOptional

Sort order

Possible values:
Responses
200

Found

application/json

Response DTO for schema operations

idstringRequired

Unique identifier of the schema

Example: d290f1ee-6c54-4b01-90e6-d701748f0851
typestringRequired

Schema type

Example: https://schema.org/DriverLicense
namestringRequired

Schema name

Example: DriverLicense
versionnumber · doubleRequired

Schema version

Example: 1
schemaUristringOptional

Schema URI

Example: https://example.com/schemas/driver-license
schemaBodyanyOptional

Schema body

Example: {"$id":"https://example.com/schemas/driver-license","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}}
get/api/v1/schemas

Create a new credential schema

post

Creates a new credential schema

Authorizations
x-client-secretstringRequired
Body

Schema definition including name, type, version and credential subject

namestringRequired

Name of the schema

Example: DriverLicense
typestringRequired

Type of the schema

Example: https://schema.org/DriverLicense
versionnumber · doubleOptional

Schema version

Example: 1
Responses
201

Created

application/json

Response DTO for schema operations

idstringRequired

Unique identifier of the schema

Example: d290f1ee-6c54-4b01-90e6-d701748f0851
typestringRequired

Schema type

Example: https://schema.org/DriverLicense
namestringRequired

Schema name

Example: DriverLicense
versionnumber · doubleRequired

Schema version

Example: 1
schemaUristringOptional

Schema URI

Example: https://example.com/schemas/driver-license
schemaBodyanyOptional

Schema body

Example: {"$id":"https://example.com/schemas/driver-license","type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}}
post/api/v1/schemas

Get a schema by ID

get

Retrieves a specific credential schema by ID

Path parameters
idstringRequired

Schema ID to retrieve

Responses
200

Found

application/json
objectOptional
get/api/v1/schemas/{id}

Delete a schema by ID

delete

Deletes a specific credential schema

Authorizations
x-client-secretstringRequired
Path parameters
idstringRequired

Schema ID to delete

Responses
204

No Content

No content

delete/api/v1/schemas/{id}

No content

Last updated