API Reference
Documents
Authorization
bearerAuth AuthorizationBearer <token>
A Space API key, e.g. wks_live_….
In: header
Response Body
application/json
curl -X GET "https://example.com/documents"{}Authorization
bearerAuth AuthorizationBearer <token>
A Space API key, e.g. wks_live_….
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/documents" \ -H "Content-Type: application/json" \ -d '{}'{}Authorization
bearerAuth AuthorizationBearer <token>
A Space API key, e.g. wks_live_….
In: header
Path Parameters
id*string
Response Body
application/json
curl -X GET "https://example.com/documents/string"{}Authorization
bearerAuth AuthorizationBearer <token>
A Space API key, e.g. wks_live_….
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/documents/string" \ -H "Content-Type: application/json" \ -d '{}'{}