Skip to content

ticket

Find past tickets for a kind of work

GET/v1/tickets/concept-search

Finds the caller's tenant's tickets that look like a kind of work, for example a firewall replacement, closest match first, optionally for one client and an entered-date window. The results are candidates: judge which genuinely match, then call ticket.time_breakdown on the ones you keep for the hours actually logged. A ticket whose client is hidden or that the PSA no longer backs is never returned. Returns at most limit rows (default 25, at most 100), not a cursor-paged list. retrieval says whether the search ranked by meaning and keywords or by keywords alone, and why.

Parameters

NameInRequiredTypeDescription
conceptqueryYesstring—
clientIdqueryNostring—
dateFromqueryNostring—
dateToqueryNostring—
limitqueryNointeger—

Request body

No request body.

Responses and errors

  • 200

    Find past tickets for a kind of work

    • data (required): array
    • retrieval (required): object
  • 400

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • ValidationFailedError:
    • allOf: ErrorEnvelope
  • 401

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • UnauthorizedError:
    • allOf: ErrorEnvelope
  • 403

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • ForbiddenError:
    • allOf: ErrorEnvelope
  • 429

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • RateLimitedError:
    • allOf: ErrorEnvelope
  • 503

    Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description.

    • UnavailableError:
    • allOf: ErrorEnvelope

Example

curl --request GET \
  --url 'https://api.scopable.io/v1/tickets/concept-search' \
  --header 'Authorization: Bearer $SCOPABLE_API_KEY'

Replace $SCOPABLE_API_KEY with a key created in Settings, API.

View the OpenAPI 3.1 source

Need help with the API? …