Clarity Bugs API
The bugs API from Clarity — 2 operation(s) for bugs.
The bugs API from Clarity — 2 operation(s) for bugs.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/onclarity-com:onclarity-com-bugs-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Fast Bugs API
version: 0.1.0
tags:
- name: bugs
paths:
/api/v1/bugs/summary:
post:
tags:
- bugs
summary: Get Summary
description: 'To test this function use cURL instead of Postman, because Postman doesn''t support streaming responses.
curl -X POST --no-buffer --header "Content-Type: application/json" --header "X-Customer-Name: abyan-capital" --header "Authorization: Bearer ..." -d ''{"filters": [], "search_query":"test"}'' http://localhost:3005/api/v1/bugs/summary'
operationId: get_summary_api_v1_bugs_summary_post
security:
- HTTPBearer: []
parameters:
- name: x-request-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Request-Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/BugSummaryRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/bugs/localization:
post:
tags:
- bugs
summary: Get Localization
operationId: get_localization_api_v1_bugs_localization_post
security:
- HTTPBearer: []
parameters:
- name: x-request-id
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: X-Request-Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/BugLocalizationRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
BugLocalizationRequest:
properties:
taxonomy_key:
type: string
title: Taxonomy Key
default: default
category_id:
anyOf:
- type: string
- type: 'null'
title: Category Id
anecdote_id:
anyOf:
- type: string
- type: 'null'
title: Anecdote Id
filters:
items:
$ref: '#/components/schemas/QueryFilter'
type: array
title: Filters
main_field:
anyOf:
- type: string
- type: 'null'
title: Main Field
default: message_text
additional_fields:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Additional Fields
default: []
force_refresh:
anyOf:
- type: boolean
- type: 'null'
title: Force Refresh
default: false
use_external_urls:
anyOf:
- type: boolean
- type: 'null'
title: Use External Urls
default: false
search_query:
anyOf:
- type: string
- type: 'null'
title: Search Query
description: Page-level search query. Limits the localization aggregation to its results, with the same relevance-thresholded retrieval the /search/* endpoints use.
min_score:
type: number
minimum: 0.0
title: Min Score
description: Relevance floor for `search_query`; 0 keeps everything the filters match.
default: 1.0
type: object
required:
- filters
title: BugLocalizationRequest
description: '/bugs/localization request: the bug scope, optionally narrowed by a search query.
The query lives here rather than on the shared summary model so that
/bugs/summary, which cannot honour one, does not advertise it.'
BugSummaryRequest:
properties:
taxonomy_key:
type: string
title: Taxonomy Key
default: default
category_id:
anyOf:
- type: string
- type: 'null'
title: Category Id
anecdote_id:
anyOf:
- type: string
- type: 'null'
title: Anecdote Id
filters:
items:
$ref: '#/components/schemas/QueryFilter'
type: array
title: Filters
main_field:
anyOf:
- type: string
- type: 'null'
title: Main Field
default: message_text
additional_fields:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Additional Fields
default: []
force_refresh:
anyOf:
- type: boolean
- type: 'null'
title: Force Refresh
default: false
use_external_urls:
anyOf:
- type: boolean
- type: 'null'
title: Use External Urls
default: false
type: object
required:
- filters
title: BugSummaryRequest
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
QueryFilter:
properties:
type:
anyOf:
- type: string
const: exists
- type: string
const: list
- type: string
const: nested
- type: string
const: range
- type: string
const: text
title: Type
key:
type: string
title: Key
values:
anyOf:
- items:
type: string
type: array
- items:
type: integer
type: array
- items:
additionalProperties: true
type: object
type: array
- type: string
- type: 'null'
title: Values
min:
anyOf:
- type: string
- type: integer
- type: number
- type: 'null'
title: Min
max:
anyOf:
- type: string
- type: integer
- type: number
- type: 'null'
title: Max
operator:
anyOf:
- type: string
const: eq
- type: string
const: neq
- type: string
const: contains
title: Operator
default: eq
generated:
type: boolean
title: Generated
default: false
type: object
required:
- type
- key
title: QueryFilter
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
HTTPBasic:
type: http
scheme: basic