# Metadata

## Retrieves the OpenID Credential Issuer metadata configuration

> Get OpenID Credential Issuer metadata

```json
{"openapi":"3.0.0","info":{"title":"issuer-service","version":"1.0.0-rc2"},"servers":[{"url":"/"}],"security":[],"paths":{"/.well-known/openid-credential-issuer":{"get":{"operationId":"IssuerMetadata","responses":{"200":{"description":"The issuer metadata","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssuerMetadataDto"}}}}},"description":"Get OpenID Credential Issuer metadata","summary":"Retrieves the OpenID Credential Issuer metadata configuration","tags":["Metadata"],"parameters":[]}}},"components":{"schemas":{"IssuerMetadataDto":{"description":"OpenID Credential Issuer metadata","properties":{"credential_issuer":{"type":"string","description":"Base URL of the credential issuer"},"credential_endpoint":{"type":"string","description":"Endpoint for credential operations"},"token_endpoint":{"type":"string","description":"Endpoint for token operations"},"schema_endpoint":{"type":"string","description":"Endpoint for schema operations"},"authorize_endpoint":{"type":"string","description":"Endpoint for authorization requests"},"offering_endpoint":{"type":"string","description":"Endpoint for credential offerings"},"authorization_servers":{"items":{"type":"string"},"type":"array","description":"List of authorization server URLs"},"display":{"items":{"$ref":"#/components/schemas/DisplayDto"},"type":"array","description":"Display information for the issuer"},"credential_configurations_supported":{"$ref":"#/components/schemas/SupportedCredentialConfigurationDto","description":"Supported credential configurations"},"proof_types_supported":{"properties":{"jwt":{"properties":{"proof_signing_alg_values_supported":{"items":{"type":"string"},"type":"array"}},"required":["proof_signing_alg_values_supported"],"type":"object"}},"required":["jwt"],"type":"object","description":"Supported proof types and algorithms"}},"required":["credential_issuer","offering_endpoint","authorization_servers","display","credential_configurations_supported","proof_types_supported"],"type":"object","additionalProperties":false},"DisplayDto":{"description":"Display information for credential issuer","properties":{"name":{"type":"string","description":"Display name"},"locale":{"type":"string","description":"Locale code (BCP 47 language tag)"}},"required":["name","locale"],"type":"object","additionalProperties":false},"SupportedCredentialConfigurationDto":{"$ref":"#/components/schemas/Record_string.SupportedCredentialDefinitionDto_","description":"Mapping of credential names to their definitions"},"Record_string.SupportedCredentialDefinitionDto_":{"properties":{},"additionalProperties":{"$ref":"#/components/schemas/SupportedCredentialDefinitionDto"},"type":"object","description":"Construct a type with a set of properties K of type T"},"SupportedCredentialDefinitionDto":{"description":"Supported credential definition format and display","properties":{"format":{"type":"string","enum":["jwt_vc_json"],"nullable":false,"description":"Format of the credential"},"display":{"items":{"$ref":"#/components/schemas/DisplayDto"},"type":"array","description":"Display information for the credential"}},"required":["format","display"],"type":"object","additionalProperties":false}}}}
```

## Retrieves the DID metadata with domain linkage credential

> Get DID metadata

```json
{"openapi":"3.0.0","info":{"title":"issuer-service","version":"1.0.0-rc2"},"servers":[{"url":"/"}],"security":[],"paths":{"/.well-known/did-configuration":{"get":{"operationId":"DidMetadata","responses":{"200":{"description":"The DID metadata with JWT","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DidMetadataDto"}}}}},"description":"Get DID metadata","summary":"Retrieves the DID metadata with domain linkage credential","tags":["Metadata"],"parameters":[]}}},"components":{"schemas":{"DidMetadataDto":{"description":"DID metadata response","properties":{"entries":{"items":{"$ref":"#/components/schemas/EntryDto"},"type":"array","description":"List of DID metadata entries"}},"required":["entries"],"type":"object","additionalProperties":false},"EntryDto":{"description":"Entry for DID metadata","properties":{"did":{"type":"string","description":"DID of the issuer"},"jwt":{"type":"string","description":"JWT containing the domain linkage credential"}},"required":["did","jwt"],"type":"object","additionalProperties":false}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.empe.io/develop/issuer/api-reference/metadata.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
