model

Freeze the model under a name

post/workspaces/{id}/questions/{questionId}/snapshots

Request

  • Base URL: https://api.swingfactor.ai/v1
  • URL: https://api.swingfactor.ai/v1/workspaces/{id}/questions/{questionId}/snapshots
  • 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

namestring required

Example request

{
  "name": "Frozen synthesis v1.0"
}

Response

The snapshot.

idstring uuid required
workspaceIdstring uuid required
questionIdstring uuid required
namestring required
frozenBystring uuid nullable
frozenByNamestring nullable
frozenAtstring required
changesSinceinteger required

Changes in the history since it was frozen: how far the model has moved.

Changes

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