Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Upsert workspace configuration

PUT/v1/private/workspaces/configurationsUpsert workspace configuration

Upsert workspace configuration

Request body

application/json
objectWorkspaceConfiguration
color_mapobject

Workspace-level color map. Maps label names to hex color values (e.g. #FF0000). Max 10000 entries.

timeout_to_mark_thread_as_inactivestring

Duration in ISO-8601 format (e.g., PT30M for 30 minutes, PT2H for 2 hours, P1D for 1 day). Minimum precision supported is seconds, please use a duration with seconds precision or higher. Also, the max duration allowed is 7 days.

truncation_on_tablesboolean

Enable or disable data truncation in table views. When disabled, the frontend will limit pagination to prevent performance issues. Default: true (truncation enabled).

Example request
{
  "color_map": {
    "additionalProp1": "string"
  },
  "timeout_to_mark_thread_as_inactive": "string",
  "truncation_on_tables": true
}

Responses

200Configuration Updatedapplication/json
objectWorkspaceConfiguration
color_mapobject

Workspace-level color map. Maps label names to hex color values (e.g. #FF0000). Max 10000 entries.

timeout_to_mark_thread_as_inactivestring

Duration in ISO-8601 format (e.g., PT30M for 30 minutes, PT2H for 2 hours, P1D for 1 day). Minimum precision supported is seconds, please use a duration with seconds precision or higher. Also, the max duration allowed is 7 days.

truncation_on_tablesboolean

Enable or disable data truncation in table views. When disabled, the frontend will limit pagination to prevent performance issues. Default: true (truncation enabled).

Example response
{
  "color_map": {
    "additionalProp1": "string"
  },
  "timeout_to_mark_thread_as_inactive": "string",
  "truncation_on_tables": true
}
400Bad Requestapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
422Unprocessable Contentapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
Documentation menu