Desktop reference · Local API

Health and diagnostics

Whether the server is up, the Doctor’s readiness report, first-run state, shutdown, and two settings of the whole app: WSL and the context engine.

Reference for TALOS Desktop 0.2.4 generated from the source of the release · released

Whether the server is up, the Doctor’s readiness report, first-run state, shutdown, and two settings of the whole app: WSL and the context engine. Paths are relative to /api/v1.

Shut the local server down gracefully.

Accepted only from the loopback address and only with the shutdown token in the x-talos-shutdown-token header; the token is compared in constant time. Answers 202 and stops on the next tick, so the answer leaves first. Without the right token: 401 and nothing stops.

Body

None: the body is empty.

Headers

x-talos-shutdown-token

Answers The JSON envelope.

Errors1
CodeStatusMeaning
AUTH_REQUIRED 401 This server accepts only the TALOS window that started it (or, for shutdown, the right token).

Any operation can also answer the common errors.

POST /sessions/{sessionId}/blocchi/versione

Section titled “POST /sessions/{sessionId}/blocchi/versione”

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Path

sessionId
The session.

Body

A JSON object, checked by the store it goes to.

Answers The JSON envelope.

Errors3
CodeStatusMeaning
NOT_FOUND 404 Nothing answers at this address, or the resource it names does not exist.
PIECE_CHANGED 409 —
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
FOLDER_TRUST_UNAVAILABLE 503 —
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Body

fidata
Not yet described.
soloSeMaiChiesta
Not yet described.
soloPerLaConversazione
Not yet described.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
FOLDER_TRUST_UNAVAILABLE 503 —
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

GET /sessions/{sessionId}/last-request/pieces(?:/\d+)?

Section titled “GET /sessions/{sessionId}/last-request/pieces(?:/\d+)?”

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Path

sessionId
The session.

Answers The JSON envelope.

GET /sessions/{sessionId}/export/pieces(?:/data)?

Section titled “GET /sessions/{sessionId}/export/pieces(?:/data)?”

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Path

sessionId
The session.

Answers The JSON envelope.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Body

None: the body is empty.

Headers

x-talos-file-name

Answers The JSON envelope.

Errors1
CodeStatusMeaning
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

GET /sessions/{sessionId}/allegati/([^§]+)(?:/anteprima)?

Section titled “GET /sessions/{sessionId}/allegati/([^§]+)(?:/anteprima)?”

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Path

sessionId
The session.

Answers The JSON envelope.

Check that the server is up: { "status": "ok" }.

Answers The JSON envelope.

Errors1
CodeStatusMeaning
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

The state of first-run setup: what is ready and what is still missing.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.
REPORT_UNAVAILABLE 404 The report or service asked for is not available on this server yet.

Any operation can also answer the common errors.

Run the Doctor: the checks of this installation, with what to do for each problem.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.
REPORT_UNAVAILABLE 404 The report or service asked for is not available on this server yet.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Body

A JSON object, checked by the store it goes to.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.
REMOTE_ORIGIN_FORBIDDEN 403 Devices can be paired only from the TALOS window, not from another page.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Query

sessionId
Not yet described.

Answers The JSON envelope.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
FOLDER_TRUST_UNAVAILABLE 503 —
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Body

fidata
Not yet described.
soloSeMaiChiesta
Not yet described.
soloPerLaConversazione
Not yet described.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
FOLDER_TRUST_UNAVAILABLE 503 —
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

WSL on this computer, and whether commands in WSL run as your normal user.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.
WSL_STORE_UNAVAILABLE 503 The WSL preference is not available on this server.

Any operation can also answer the common errors.

Choose whether commands in WSL run as your normal user; answers the updated state.

Body

usaUtenteNormalerequired
true or false.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.
WSL_STORE_UNAVAILABLE 503 The WSL preference is not available on this server.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
LOCAL_RUNTIME_NOT_CONFIGURED 503 —
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Body

scelta
Not yet described.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
LOCAL_RUNTIME_NOT_CONFIGURED 503 —
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Body

modelId
With provider: "local": the installed model.
servono
Not yet described.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
LOCAL_RUNTIME_NOT_CONFIGURED 503 —
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

The context engine setting for new conversations.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
CONTEXT_SETTINGS_UNAVAILABLE 503 The context engine setting is not available on this server.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Choose how new conversations manage their context; conversations already started keep theirs.

Body

motorerequired
engine (the context engine, default) or legacy (the earlier behavior).

Answers The JSON envelope.

Errors2
CodeStatusMeaning
CONTEXT_SETTINGS_UNAVAILABLE 503 The context engine setting is not available on this server.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Query

model
Not yet described.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
CONTEXT_SETTINGS_UNAVAILABLE 503 The context engine setting is not available on this server.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
COMMAND_SETTINGS_UNAVAILABLE 503 —
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Body

doveDiSerie
Not yet described.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
COMMAND_SETTINGS_UNAVAILABLE 503 —
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
CHAT_SETTINGS_UNAVAILABLE 503 —
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Body

blocchiVivi
Not yet described.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
CHAT_SETTINGS_UNAVAILABLE 503 —
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
COMPUTER_USE_SETTINGS_UNAVAILABLE 503 —
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Body

acceso
Not yet described.

Answers The JSON envelope.

Errors4
CodeStatusMeaning
COMPUTER_USE_SETTINGS_UNAVAILABLE 503 —
PC_CONFIRMATION_REQUIRED 403 —
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.
REMOTE_ORIGIN_FORBIDDEN 403 Devices can be paired only from the TALOS window, not from another page.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
PUBLIC_CATALOG_SETTINGS_UNAVAILABLE 503 —
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Body

acceso
Not yet described.

Answers The JSON envelope.

Errors5
CodeStatusMeaning
PC_CONFIRMATION_REQUIRED 403 —
PUBLIC_CATALOG_LOCKED 409 —
PUBLIC_CATALOG_SETTINGS_UNAVAILABLE 503 —
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.
REMOTE_ORIGIN_FORBIDDEN 403 Devices can be paired only from the TALOS window, not from another page.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
ASSISTANT_SETTINGS_UNAVAILABLE 503 —
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Body

A JSON object, checked by the store it goes to.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
ASSISTANT_SETTINGS_UNAVAILABLE 503 —
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Answers The JSON envelope.

Errors1
CodeStatusMeaning
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Body

modo
Not yet described.

Answers The JSON envelope.

Errors1
CodeStatusMeaning
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Answers The JSON envelope.

Errors1
CodeStatusMeaning
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Body

gb
Not yet described.

Answers The JSON envelope.

Errors1
CodeStatusMeaning
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
MODEL_PREFERENCES_UNAVAILABLE 503 —
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Body

A JSON object, checked by the store it goes to.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
MODEL_PREFERENCES_UNAVAILABLE 503 —
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

The detail of a problem the Doctor recorded, by the reference shown on screen (doctor- and 12 hexadecimal digits).

Path

reference
The Doctor reference an error answered with (doctorReference).

Answers The JSON envelope.

Errors2
CodeStatusMeaning
NOT_FOUND 404 Nothing answers at this address, or the resource it names does not exist.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Path

sessionId
The session.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
NOT_FOUND 404 Nothing answers at this address, or the resource it names does not exist.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Path

sessionId
The session.

Body

testo
Not yet described.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
NOT_FOUND 404 Nothing answers at this address, or the resource it names does not exist.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

GET /sessions/{sessionId}/blocks/{blockId}/library

Section titled “GET /sessions/{sessionId}/blocks/{blockId}/library”

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Path

sessionId
The session.
blockId
Not yet described.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
NOT_FOUND 404 Nothing answers at this address, or the resource it names does not exist.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Path

sessionId
The session.

Body

fissata
Not yet described.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
NOT_FOUND 404 Nothing answers at this address, or the resource it names does not exist.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Path

sessionId
The session.

Body

primaDelGiro
Not yet described.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
NOT_FOUND 404 Nothing answers at this address, or the resource it names does not exist.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

POST /sessions/{sessionId}/a-lato(?:/trasforma|/carta|/ferma)?

Section titled “POST /sessions/{sessionId}/a-lato(?:/trasforma|/carta|/ferma)?”

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Path

sessionId
The session.

Body

None: the body is empty.

Answers The JSON envelope.

GET /sessions/{sessionId}/a-lato(?:/file)?

Section titled “GET /sessions/{sessionId}/a-lato(?:/file)?”

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Path

sessionId
The session.

Answers The JSON envelope.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Body

presente
Not yet described.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
NOT_FOUND 404 Nothing answers at this address, or the resource it names does not exist.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

GET /sessions/{sessionId}/last-request/pieces/data

Section titled “GET /sessions/{sessionId}/last-request/pieces/data”

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Path

sessionId
The session.

Query

daByte
Not yet described.
impronta
Not yet described.
quantiByte
Not yet described.

Answers The JSON envelope.

Errors3
CodeStatusMeaning
CONSENT_REQUIRED 403 —
NOT_FOUND 404 Nothing answers at this address, or the resource it names does not exist.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Not yet described in this reference: the parameters, fields and errors below are read from the release.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.
REMOTE_ORIGIN_FORBIDDEN 403 Devices can be paired only from the TALOS window, not from another page.

Any operation can also answer the common errors.

Type to search the guides.

    Ask the docs

    Ask in plain words. A small model finds the passage of the guides that answers it, on this device: the question never leaves it.

    all-MiniLM-L6-v2 (Apache-2.0) and the ONNX runtime, served by talos-code.com and kept in your browser’s cache. It finds passages; it does not write answers.

    Loading the model