Vaults

Read more about vaults from Vaults documentation.

Get a list of vaults

GET
https://api.prompteasy.eu/v1/vaults

Response

A list of vaults

Response fields application/json
Show child attributes
idinteger
Example
1
tenant_idinteger
Example
1
team_idinteger | null
Example
1
tenant_vaultboolean
Example
true
public_vaultboolean
Example
true
defaultboolean
Example
false
namestring
Example
My Vault
descriptionstring
Example
A vault for my prompts
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
teamTeam
Show child attributes
idinteger
Example
1
namestring
Example
Tech Team
tenant_idinteger
Example
1
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
401Unauthorized

Unauthorized

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Create a new vault

POST
https://api.prompteasy.eu/v1/vaults

Body

application/json
namestring
Example
My Vault
descriptionstring
Example
A vault for my prompts
team_idinteger | null
Example
1
tenant_vaultboolean
Example
true
public_vaultboolean
Example
true

Response

201CreatedVault

Vault object

Response fields application/json
idinteger
Example
1
tenant_idinteger
Example
1
team_idinteger | null
Example
1
tenant_vaultboolean
Example
true
public_vaultboolean
Example
true
defaultboolean
Example
false
namestring
Example
My Vault
descriptionstring
Example
A vault for my prompts
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
teamTeam
Show child attributes
idinteger
Example
1
namestring
Example
Tech Team
tenant_idinteger
Example
1
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
401Unauthorized

Unauthorized

403Forbidden

Forbidden

422Unprocessable EntityValidationError

Unprocessable Entity

Response fields application/json
messagestring
Example
Validation failed
Show child attributes
nameArray<string>

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Detach a vault

POST
https://api.prompteasy.eu/v1/vaults/{vault}/detach

Parameters

vaultintegerrequiredpath

Response

204No Content

No Content

401Unauthorized

Unauthorized

403Forbidden

Forbidden

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Attach a vault

POST
https://api.prompteasy.eu/v1/vaults/{vault}/attach

Body

application/json
team_idinteger | null
Example
1
tenant_vaultboolean
Example
true

Parameters

vaultintegerrequiredpath

Response

204No Content

No Content

401Unauthorized

Unauthorized

403Forbidden

Forbidden

422Unprocessable EntityValidationError

Unprocessable Entity

Response fields application/json
messagestring
Example
Validation failed
Show child attributes
nameArray<string>

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Get a single vault

GET
https://api.prompteasy.eu/v1/vaults/{vault}

Parameters

vaultintegerrequiredpath

Response

200OKVault

Vault object

Response fields application/json
idinteger
Example
1
tenant_idinteger
Example
1
team_idinteger | null
Example
1
tenant_vaultboolean
Example
true
public_vaultboolean
Example
true
defaultboolean
Example
false
namestring
Example
My Vault
descriptionstring
Example
A vault for my prompts
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
teamTeam
Show child attributes
idinteger
Example
1
namestring
Example
Tech Team
tenant_idinteger
Example
1
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
401Unauthorized

Unauthorized

403Forbidden

Forbidden

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Update a vault

PUT
https://api.prompteasy.eu/v1/vaults/{vault}

Body

application/json
namestring
Example
My Vault
descriptionstring | null
Example
An updated description for my vault
public_vaultboolean
Example
true

Parameters

vaultintegerrequiredpath

Response

200OKVault

Vault object

Response fields application/json
idinteger
Example
1
tenant_idinteger
Example
1
team_idinteger | null
Example
1
tenant_vaultboolean
Example
true
public_vaultboolean
Example
true
defaultboolean
Example
false
namestring
Example
My Vault
descriptionstring
Example
A vault for my prompts
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
teamTeam
Show child attributes
idinteger
Example
1
namestring
Example
Tech Team
tenant_idinteger
Example
1
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
401Unauthorized

Unauthorized

403Forbidden

Forbidden

422Unprocessable EntityValidationError

Unprocessable Entity

Response fields application/json
messagestring
Example
Validation failed
Show child attributes
nameArray<string>

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Delete a vault

DELETE
https://api.prompteasy.eu/v1/vaults/{vault}

Parameters

vaultintegerrequiredpath

Response

204No Content

No Content

401Unauthorized

Unauthorized

403Forbidden

Forbidden

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)