Mint a short-lived upload link for a sheet or doc bundle. The bytes are then sent straight to /upload/direct — by an agent with a shell, or by a person on the returned pageUrl — so an LLM never has to carry them.

post/upload/ticket

Request

  • Base URL: https://api.space-ocr.com
  • URL: https://api.space-ocr.com/upload/ticket
  • Auth: HTTP bearer

Request body

pathstring required

Target sheet or doc bundle path.

ttlSecinteger

Link lifetime in seconds. Default 7200 (2h), max 86400 (24h).

maxFilesinteger

Total files the link may accept before it stops. Default 50.

Example request

{
  "path": "/invoices/2024/march"
}

Response

Created

unknown required

Changes

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