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

Index

Get CredentialRecords index

post

This endpoint allows the user to query their CredentialRecords index

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
limitnumberOptionalDefault: 25
cursorstringOptional
queryany ofOptional
or
encryptbooleanOptionalDefault: true
sortstring · enumOptionalDefault: newestFirstPossible values:
includeAssociatedDidsbooleanOptionalDefault: true
Responses
200

Successful response

application/json
or
post/index/get

Count records in index for query

post

This endpoint allows the user to see how many records they have in their index for a query

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
queryany ofOptional
or
encryptbooleanOptionalDefault: true
includeAssociatedDidsbooleanOptionalDefault: true
Responses
200

Successful response

application/json
integer · max: 9007199254740991Optional
or
post/index/count

Add to index

post

This endpoint adds a CredentialRecord to the user's index

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
recordany ofRequired
or
Responses
200

Successful response

application/json
booleanOptional
post/index/add

Add many to index

post

This endpoint adds multiple CredentialRecords to the user's index

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
recordsany ofRequired
or
Responses
200

Successful response

application/json
booleanOptional
post/index/addMany

Deletes a CredentialRecord

delete

This endpoint deletes a CredentialRecord

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
200

Successful response

application/json
booleanOptional
delete/index/{id}

Update a CredentialRecord

patch

This endpoint updates a CredentialRecord

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Body
updatesany ofRequired
or
Responses
200

Successful response

application/json
booleanOptional
patch/index/{id}

Deletes all CredentialRecords

delete

This endpoint deletes all CredentialRecords

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Successful response

application/json
booleanOptional
delete/index

Last updated

Was this helpful?