---
title: "Vend Credentials"
method: POST
path: "/api/workspace/credentials"
tags: ["workspace-credentials"]
---

# Vend Credentials

`POST /api/workspace/credentials`

Vend scoped credentials for the authenticated user's workspace.

## Request body

- CredentialRequestBody — Optional dataset target; absent means the caller's own workspace (RW).
  - `dataset_id` string, nullable
  - `base` boolean
  - `chat_session_id` string, nullable
  - `mount_uri` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-22** `c53108d35a70` — 1 info
  - added the new optional request property `anyOf[subschema #1: CredentialRequestBody]/chat_session_id`
- **2026-08-21** `e99c1b6139c8` — 1 info
  - added the new optional request property `anyOf[subschema #1: CredentialRequestBody]/mount_uri`
- **2026-08-19** `bc8a81bf3914` — 1 info
  - added the new optional request property `anyOf[subschema #1: CredentialRequestBody]/base`

[Change history](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/changes/api/workspace/credentials/post.md)

---

[API](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api.md) · [All operations](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/quadrillion/quadrillion-cloud-api/revisions/f4de1bab5efb/schema)
