sources
Put a library item to a question
A document or a web page already in the workspace’s library. Add one at /workspaces/{id}/content first: an upload, or a page by its address.
post/workspaces/{id}/questions/{questionId}/sources
Request
- Base URL: https://api.swingfactor.ai/v1
- URL: https://api.swingfactor.ai/v1/workspaces/{id}/questions/{questionId}/sources
- Auth: HTTP bearer
Path parameters
idstring uuid required
The workspace's id (a UUID).
questionIdstring uuid required
The question's id (a UUID).
Headers
Idempotency-Keystring
Any unique string. The same key, method, path and body within 24 hours answers with the first response instead of creating again; the same key on a different request is 409 idempotency_key_reused.
Request body
Response
The source.
Changes
No recorded changes to this operation across all 1 revision of this API.