userintuition-ai Public Usage API
The public-usage API from userintuition-ai, for public-usage.
The public-usage API from userintuition-ai, for public-usage.
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/userintuition-ai:userintuition-ai-public-usage-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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: User Intuition Public Public Usage API
description: '## Public Integration API
Programmatic access to User Intuition for external integrators: manage studies, participants, interviews, reports, and panels.
### Authentication
All endpoints require a Bearer token — either an API key (prefixed `ui_sk_`, created in the dashboard) or a dashboard JWT:
```
Authorization: Bearer
```
### Base URLs
- **Production:** `https://api.userintuition.ai`
- **Staging:** `https://staging.userintuition.ai`
### Support
For API support, contact support@userintuition.ai'
version: 1.0.0
contact:
name: User Intuition Support
email: support@userintuition.ai
servers:
- url: https://api.userintuition.ai
description: Production
- url: https://staging.userintuition.ai
description: Staging
security:
- BearerAuth: []
tags:
- name: public-usage
paths:
/api/public/v1/usage/interviews:
get:
tags:
- public-usage
summary: Get Interview Usage
description: Read bounded usage with the same resolved scope and totals as the dashboard.
operationId: getInterviewUsage
parameters:
- name: start_date
in: query
required: false
schema:
anyOf:
- type: string
format: date
- type: 'null'
description: Inclusive UTC start date
title: Start Date
description: Inclusive UTC start date
- name: end_date
in: query
required: false
schema:
anyOf:
- type: string
format: date
- type: 'null'
description: Inclusive UTC end date
title: End Date
description: Inclusive UTC end date
- name: cadence
in: query
required: false
schema:
anyOf:
- enum:
- daily
- weekly
- monthly
type: string
- type: 'null'
title: Cadence
- name: app_id
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: App Id
- name: X-UI-Organization-ID
in: header
required: false
schema:
anyOf:
- type: string
maxLength: 128
- type: 'null'
description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
title: X-Ui-Organization-Id
description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PublicInterviewUsage'
'422':
description: Public API error. X-Request-ID matches error.request_id.
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiErrorResponse'
default:
description: Public API error. X-Request-ID matches error.request_id.
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiErrorResponse'
components:
schemas:
PublicApiError:
type: object
required:
- code
- message
- field
- request_id
- outcome
- recovery_action
- docs_url
properties:
code:
type: string
message:
type: string
field:
anyOf:
- type: string
- type: 'null'
request_id:
type: string
format: uuid
outcome:
type: string
enum:
- not_started
- failed
- unknown
recovery_action:
type: string
docs_url:
type: string
format: uri
PublicApiErrorResponse:
type: object
required:
- detail
- error
properties:
detail:
description: Legacy error detail; may be a string, list, or object.
error:
$ref: '#/components/schemas/PublicApiError'
PublicInterviewUsage:
properties:
total_interviews:
type: integer
title: Total Interviews
total_units:
type: number
title: Total Units
usage_stats:
items:
$ref: '#/components/schemas/PublicUsageBucket'
type: array
title: Usage Stats
scope:
$ref: '#/components/schemas/UsageStatsScope'
additionalProperties: false
type: object
required:
- total_interviews
- total_units
- usage_stats
- scope
title: PublicInterviewUsage
UsageStatsScope:
properties:
app_id:
type: string
title: App Id
description: Resolved app used for this query
start_date:
type: string
format: date
title: Start Date
description: Inclusive start date in UTC
end_date:
type: string
format: date
title: End Date
description: Inclusive end date in UTC
cadence:
type: string
enum:
- daily
- weekly
- monthly
title: Cadence
type: object
required:
- app_id
- start_date
- end_date
- cadence
title: UsageStatsScope
PublicUsageBucket:
properties:
date:
type: string
format: date
title: Date
interviews:
type: integer
title: Interviews
default: 0
audio_interviews:
type: integer
title: Audio Interviews
default: 0
video_interviews:
type: integer
title: Video Interviews
default: 0
chat_interviews:
type: integer
title: Chat Interviews
default: 0
synthetic_respondents:
type: integer
title: Synthetic Respondents
default: 0
units:
type: number
title: Units
default: 0
additionalProperties: false
type: object
required:
- date
title: PublicUsageBucket
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: Authenticate with an API key (prefixed `ui_sk_`) or a JWT token from the dashboard.