Skip to content
GitHubLog inStart free
cetra is not released yet. These docs describe the development version.

Get an issue source

GET
/api/v1/projects/{project}/issue-sources/{id}
curl --request GET \
--url http://localhost:8080/api/v1/projects/example/issue-sources/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--cookie cetra_session=<cetra_session>

Any project member can read.

project
required
string

Project UUID, URL-encoded org-slug/project-slug, or current.

id
required
string format: uuid

Issue source id.

The source.

Media typeapplication/json

An issue source. Spec 09 § Issues.

object
budget_period

Period of the budget. Present exactly when budget_usd is.

string
Allowed values: day month
budget_usd

Spend limit per budget_period, in USD. Omitted when there is no budget.

number format: double
candidates_24h

Candidates created in the last 24 hours, by status. LLM kinds only.

object
assigned
required

Joined an issue.

integer format: int64
dropped
required

Not kept: the trace is gone, or the daily cap was reached.

integer format: int64
failed
required

Failed after its retries.

integer format: int64
pending
required

Embedded, waiting for the next refit.

integer format: int64
queued
required

Waiting for a worker, or for their retry time.

integer format: int64
skipped
required

Skipped: the source was deleted, paused too long, or the trace was deleted.

integer format: int64
channel_ids
required

Channels notified of new and regressed issues. Ordered by id.

Array<string>
chat_connection_id

Connection of the chat model that summarizes and names. LLM kinds only.

string format: uuid
chat_model

Chat model of that connection. LLM kinds only.

string
created_at
required

Creation time. JSON is RFC 3339.

string format: date-time
created_by

User who created the source. Omitted when that user is unknown.

string format: uuid
daily_cap

Most candidates admitted per UTC day, 1 to 10 000. LLM kinds only.

integer format: int32
embed_connection_id

Connection of the embedding model. Fixed after create. LLM kinds only.

string format: uuid
embed_dimension

Vector dimension of the embedding model, set once the source first embeds. LLM kinds only.

integer format: int32
embed_model

Embedding model of that connection. Fixed after create. LLM kinds only.

string
enabled
required

Whether the source runs. A disabled source counts for no plan limit.

boolean
feedback_sources

Feedback sources read by a feedback source: end_user and/or human. Omitted for other kinds.

Array<string>
filter

Spans filter for error sources. Omitted when there is none.

string
floor

Cosine similarity at which a candidate joins an issue, 0.5 to 0.99. LLM kinds only.

number format: double
id
required

Source id.

string format: uuid
kind
required

What the source reads. Immutable.

string
Allowed values: error score feedback topic
min_issue_size

Smallest group a refit makes into a new issue, 2 to 100. LLM kinds only.

integer format: int32
name
required

Display name, unique in the project. 1 to 128 characters.

string
next_refit_at

When the next refit is due. Omitted for other kinds. JSON is RFC 3339.

string format: date-time
open_issues
required

Issues of this source that are open now.

integer format: int64
paused_detail

The provider’s error text for a connection pause. Omitted when the source is not paused for a connection.

string
paused_reason

Why the sweeper skips the source. Omitted when it runs.

string
project_id
required

The project the source belongs to.

string format: uuid
sample_rate

Share of the matching traces or scores that become candidates, in (0, 1]. LLM kinds only.

number format: double
score_names

Score names read by a score or feedback source. Omitted for other kinds.

Array<string>
spent_today_usd

Spend of the current UTC day, in USD. LLM kinds only.

number format: double
updated_at
required

Last change time. JSON is RFC 3339.

string format: date-time

Example

{
"budget_period": "day",
"kind": "error"
}

The request is malformed or a filter is invalid.

Media typeapplication/problem+json

RFC 7807 problem document.

Spec 09 § Conventions.

object
code
required

Machine-readable error code.

string
Allowed values: bad_request invalid_filter query_failed query_timeout query_too_large too_many_traces too_many_items busy restore_mode unauthorized forbidden sso_required email_not_verified plan_limit plan_required scim_managed owner_not_allowed not_found method_not_allowed payload_too_large unsupported_media_type range_not_satisfiable conflict authorization_pending slow_down access_denied expired_token quota_exceeded rate_limited internal
detail

Extra explanation. Omitted when absent.

string
errors

Field errors. Omitted when empty, because RFC 7807 clients expect the member to be absent.

Array<object>

One field that failed validation.

Spec 09 § Conventions.

object
field
required

Request field, query parameter, or expression the error refers to.

string
message
required

What is wrong with the field.

string
position

Location inside the field value, for filter and SQL errors.

object
column
required

1-based column number, in characters.

integer format: int32
line
required

1-based line number, in characters.

integer format: int32
status
required

HTTP status code.

integer format: int32
title
required

Short human-readable summary, the reason phrase of status.

string
type
required

Problem type URI. Always about:blank in this version.

string

Example

{
"code": "bad_request"
}

No credentials, or the credentials are invalid.

Media typeapplication/problem+json

RFC 7807 problem document.

Spec 09 § Conventions.

object
code
required

Machine-readable error code.

string
Allowed values: bad_request invalid_filter query_failed query_timeout query_too_large too_many_traces too_many_items busy restore_mode unauthorized forbidden sso_required email_not_verified plan_limit plan_required scim_managed owner_not_allowed not_found method_not_allowed payload_too_large unsupported_media_type range_not_satisfiable conflict authorization_pending slow_down access_denied expired_token quota_exceeded rate_limited internal
detail

Extra explanation. Omitted when absent.

string
errors

Field errors. Omitted when empty, because RFC 7807 clients expect the member to be absent.

Array<object>

One field that failed validation.

Spec 09 § Conventions.

object
field
required

Request field, query parameter, or expression the error refers to.

string
message
required

What is wrong with the field.

string
position

Location inside the field value, for filter and SQL errors.

object
column
required

1-based column number, in characters.

integer format: int32
line
required

1-based line number, in characters.

integer format: int32
status
required

HTTP status code.

integer format: int32
title
required

Short human-readable summary, the reason phrase of status.

string
type
required

Problem type URI. Always about:blank in this version.

string

Example

{
"code": "bad_request"
}

The credentials do not allow this operation, or the organization’s plan does not include it (code plan_required).

Media typeapplication/problem+json

RFC 7807 problem document.

Spec 09 § Conventions.

object
code
required

Machine-readable error code.

string
Allowed values: bad_request invalid_filter query_failed query_timeout query_too_large too_many_traces too_many_items busy restore_mode unauthorized forbidden sso_required email_not_verified plan_limit plan_required scim_managed owner_not_allowed not_found method_not_allowed payload_too_large unsupported_media_type range_not_satisfiable conflict authorization_pending slow_down access_denied expired_token quota_exceeded rate_limited internal
detail

Extra explanation. Omitted when absent.

string
errors

Field errors. Omitted when empty, because RFC 7807 clients expect the member to be absent.

Array<object>

One field that failed validation.

Spec 09 § Conventions.

object
field
required

Request field, query parameter, or expression the error refers to.

string
message
required

What is wrong with the field.

string
position

Location inside the field value, for filter and SQL errors.

object
column
required

1-based column number, in characters.

integer format: int32
line
required

1-based line number, in characters.

integer format: int32
status
required

HTTP status code.

integer format: int32
title
required

Short human-readable summary, the reason phrase of status.

string
type
required

Problem type URI. Always about:blank in this version.

string

Example

{
"code": "bad_request"
}

The resource does not exist.

Media typeapplication/problem+json

RFC 7807 problem document.

Spec 09 § Conventions.

object
code
required

Machine-readable error code.

string
Allowed values: bad_request invalid_filter query_failed query_timeout query_too_large too_many_traces too_many_items busy restore_mode unauthorized forbidden sso_required email_not_verified plan_limit plan_required scim_managed owner_not_allowed not_found method_not_allowed payload_too_large unsupported_media_type range_not_satisfiable conflict authorization_pending slow_down access_denied expired_token quota_exceeded rate_limited internal
detail

Extra explanation. Omitted when absent.

string
errors

Field errors. Omitted when empty, because RFC 7807 clients expect the member to be absent.

Array<object>

One field that failed validation.

Spec 09 § Conventions.

object
field
required

Request field, query parameter, or expression the error refers to.

string
message
required

What is wrong with the field.

string
position

Location inside the field value, for filter and SQL errors.

object
column
required

1-based column number, in characters.

integer format: int32
line
required

1-based line number, in characters.

integer format: int32
status
required

HTTP status code.

integer format: int32
title
required

Short human-readable summary, the reason phrase of status.

string
type
required

Problem type URI. Always about:blank in this version.

string

Example

{
"code": "bad_request"
}

Too many requests.

Media typeapplication/problem+json

RFC 7807 problem document.

Spec 09 § Conventions.

object
code
required

Machine-readable error code.

string
Allowed values: bad_request invalid_filter query_failed query_timeout query_too_large too_many_traces too_many_items busy restore_mode unauthorized forbidden sso_required email_not_verified plan_limit plan_required scim_managed owner_not_allowed not_found method_not_allowed payload_too_large unsupported_media_type range_not_satisfiable conflict authorization_pending slow_down access_denied expired_token quota_exceeded rate_limited internal
detail

Extra explanation. Omitted when absent.

string
errors

Field errors. Omitted when empty, because RFC 7807 clients expect the member to be absent.

Array<object>

One field that failed validation.

Spec 09 § Conventions.

object
field
required

Request field, query parameter, or expression the error refers to.

string
message
required

What is wrong with the field.

string
position

Location inside the field value, for filter and SQL errors.

object
column
required

1-based column number, in characters.

integer format: int32
line
required

1-based line number, in characters.

integer format: int32
status
required

HTTP status code.

integer format: int32
title
required

Short human-readable summary, the reason phrase of status.

string
type
required

Problem type URI. Always about:blank in this version.

string

Example

{
"code": "bad_request"
}