images

createImageUploadSession

Create a PUT upload URL for a document image (max 10MB). Use the returned assetUrl with insertImageInDocument.

post/tools/createImageUploadSession

Request

  • Base URL: https://api.stablebaseline.io/functions/v1/cloud-serve/api/v1
  • URL: https://api.stablebaseline.io/functions/v1/cloud-serve/api/v1/tools/createImageUploadSession
  • Auth: HTTP bearer

Request body

projectIdstring

Optional. Narrows a friendly-id lookup to one project. Only needed when a friendly id is ambiguous — TAS-/IMP-/PLN- ids are numbered per PROJECT, so the same id can exist in several. Ignored when the id is a UUID.

documentIdstring required
fileNamestring required

Original filename (e.g. screenshot.png).

mimeTypestring required

Image MIME type (e.g. image/png).

sha256string

Optional SHA-256 hex digest.

Response

Tool result (shape varies per tool — refer to the tool's docs for the exact return value).

object required

Changes

No recorded changes to this operation across all 1 revision of this API.