OpenRush Me API

The me API from OpenRush — 8 operation(s) for me.

GitHub OpenAPI

Operations 10

GET /v1/me Me #
GET /v1/me/credits Credits #
POST /v1/me/attribution Capture Attribution #
GET /v1/me/beta-access-requests List Beta Access Requests #
POST /v1/me/beta-access-requests Request Beta Access #
DELETE /v1/me/beta-access-requests/{request_id} Cancel Beta Access Request #
GET /v1/me/api-credentials List Api Credentials #
POST /v1/me/api-credentials Create Credential #
POST /v1/me/api-credentials/{credential_id}/revoke Revoke Credential #
GET /v1/me/usage Usage #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/openrush-com:openrush-com-me-api"
All apis
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.

Get an API 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 Specification

openrush-com-me-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenRush Me API
  description: 'The ground-truth marketing data layer for AI agents. Every response is a typed envelope: compact data, typed facts, entity index, deltas, provenance, coverage, next actions.'
  version: 0.1.0
tags:
- name: Me
paths:
  /v1/me:
    get:
      tags:
      - Me
      summary: Me
      description: 'The signed-in member''s account, identity, and membership role (teams §6.1).


        The dashboard shell reads `role` from here to decide which admin-only controls

        to render. Cheap — everything is already on the principal, no query.'
      operationId: me_v1_me_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/me/credits:
    get:
      tags:
      - Me
      summary: Credits
      operationId: credits_v1_me_credits_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreditsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/me/attribution:
    post:
      tags:
      - Me
      summary: Capture Attribution
      description: 'Stamp first-touch paid-ad attribution against the account (brief §4.3).


        First-touch: the first ad click wins. This is the same hop that lazily

        creates the account (`get_api_key`), so no signup-timing coordination is

        needed — the row is inserted only when none exists, and an established

        attribution is never re-pointed at a different campaign.


        The one mutation of an existing row is an upgrade, not an overwrite: a

        UTM-only capture holds no click id and can never be uploaded, so if a real

        ad click lands later its click id is adopted onto that row.


        Safe to retry; a payload with no click id and no UTM is a no-op. Returns 204

        in every success case.'
      operationId: capture_attribution_v1_me_attribution_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AttributionCapture'
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/me/beta-access-requests:
    get:
      tags:
      - Me
      summary: List Beta Access Requests
      operationId: list_beta_access_requests_v1_me_beta_access_requests_get
      parameters:
      - name: surface
        in: query
        required: false
        schema:
          anyOf:
          - enum:
            - connections
            - tracking
            type: string
          - type: 'null'
          title: Surface
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BetaAccessRequestPublic'
                title: Response List Beta Access Requests V1 Me Beta Access Requests Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Me
      summary: Request Beta Access
      operationId: request_beta_access_v1_me_beta_access_requests_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BetaAccessRequestCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BetaAccessRequestPublic'
                title: Response Request Beta Access V1 Me Beta Access Requests Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/me/beta-access-requests/{request_id}:
    delete:
      tags:
      - Me
      summary: Cancel Beta Access Request
      operationId: cancel_beta_access_request_v1_me_beta_access_requests__request_id__delete
      parameters:
      - name: request_id
        in: path
        required: true
        schema:
          type: string
          title: Request Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/me/api-credentials:
    get:
      tags:
      - Me
      summary: List Api Credentials
      operationId: list_api_credentials_v1_me_api_credentials_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApiCredentialPublic'
                title: Response List Api Credentials V1 Me Api Credentials Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Me
      summary: Create Credential
      operationId: create_credential_v1_me_api_credentials_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiCredentialCreateRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiCredentialCreateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/me/api-credentials/{credential_id}/revoke:
    post:
      tags:
      - Me
      summary: Revoke Credential
      operationId: revoke_credential_v1_me_api_credentials__credential_id__revoke_post
      parameters:
      - name: credential_id
        in: path
        required: true
        schema:
          type: string
          title: Credential Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiCredentialPublic'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/me/usage:
    get:
      tags:
      - Me
      summary: Usage
      operationId: usage_v1_me_usage_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 50
          title: Limit
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UsageLogPublic'
                title: Response Usage V1 Me Usage Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CreditsResponse:
      properties:
        balance:
          type: integer
          title: Balance
      type: object
      required:
      - balance
      title: CreditsResponse
    BetaAccessRequestCreate:
      properties:
        surface:
          type: string
          enum:
          - connections
          - tracking
          title: Surface
        platforms:
          items:
            type: string
          type: array
          maxItems: 20
          minItems: 1
          title: Platforms
        contact_email:
          type: string
          maxLength: 255
          minLength: 3
          title: Contact Email
      type: object
      required:
      - surface
      - platforms
      - contact_email
      title: BetaAccessRequestCreate
    ApiCredentialCreateRequest:
      properties:
        name:
          type: string
          maxLength: 120
          minLength: 1
          title: Name
        expires_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expires At
      type: object
      required:
      - name
      title: ApiCredentialCreateRequest
    UsageLogPublic:
      properties:
        id:
          type: string
          title: Id
        account_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Account Id
        credential_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Credential Id
        auth_source:
          type: string
          title: Auth Source
        endpoint:
          type: string
          title: Endpoint
        method:
          type: string
          title: Method
        status_code:
          type: integer
          title: Status Code
        response_time_ms:
          type: integer
          title: Response Time Ms
        request_bytes:
          type: integer
          title: Request Bytes
        response_bytes:
          type: integer
          title: Response Bytes
        credits_charged:
          type: integer
          title: Credits Charged
        error_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Error Type
        error_message:
          anyOf:
          - type: string
          - type: 'null'
          title: Error Message
        created_at:
          type: string
          format: date-time
          title: Created At
        oauth_identity_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Oauth Identity Id
        used_by_email:
          anyOf:
          - type: string
          - type: 'null'
          title: Used By Email
      type: object
      required:
      - id
      - account_id
      - credential_id
      - auth_source
      - endpoint
      - method
      - status_code
      - response_time_ms
      - request_bytes
      - response_bytes
      - credits_charged
      - error_type
      - error_message
      - created_at
      title: UsageLogPublic
    BetaAccessRequestPublic:
      properties:
        id:
          type: string
          title: Id
        account_id:
          type: string
          title: Account Id
        surface:
          type: string
          enum:
          - connections
          - tracking
          title: Surface
        platform:
          type: string
          title: Platform
        contact_email:
          type: string
          title: Contact Email
        status:
          type: string
          enum:
          - requested
          - invited
          - enabled
          - declined
          title: Status
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
      - id
      - account_id
      - surface
      - platform
      - contact_email
      - status
      - created_at
      - updated_at
      title: BetaAccessRequestPublic
    ApiCredentialPublic:
      properties:
        id:
          type: string
          title: Id
        account_id:
          type: string
          title: Account Id
        name:
          type: string
          title: Name
        prefix:
          type: string
          title: Prefix
        is_active:
          type: boolean
          title: Is Active
        is_admin:
          type: boolean
          title: Is Admin
        created_by:
          anyOf:
          - type: string
          - type: 'null'
          title: Created By
        created_by_email:
          anyOf:
          - type: string
          - type: 'null'
          title: Created By Email
        created_at:
          type: string
          format: date-time
          title: Created At
        last_used_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Last Used At
        expires_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expires At
      type: object
      required:
      - id
      - account_id
      - name
      - prefix
      - is_active
      - is_admin
      - created_at
      - last_used_at
      - expires_at
      title: ApiCredentialPublic
    ApiCredentialCreateResponse:
      properties:
        key:
          type: string
          title: Key
          description: The raw API key — shown ONCE; not retrievable later.
        api_credential:
          $ref: '#/components/schemas/ApiCredentialPublic'
      type: object
      required:
      - key
      - api_credential
      title: ApiCredentialCreateResponse
    MeResponse:
      properties:
        account_id:
          type: string
          title: Account Id
        oauth_identity_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Oauth Identity Id
        role:
          type: string
          enum:
          - admin
          - member
          title: Role
          default: member
      type: object
      required:
      - account_id
      title: MeResponse
      description: Lightweight identity/role probe for the dashboard shell (teams §6.1).
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AttributionCapture:
      properties:
        gclid:
          anyOf:
          - type: string
            maxLength: 512
          - type: 'null'
          title: Gclid
        gbraid:
          anyOf:
          - type: string
            maxLength: 512
          - type: 'null'
          title: Gbraid
        wbraid:
          anyOf:
          - type: string
            maxLength: 512
          - type: 'null'
          title: Wbraid
        utm_source:
          anyOf:
          - type: string
            maxLength: 512
          - type: 'null'
          title: Utm Source
        utm_medium:
          anyOf:
          - type: string
            maxLength: 512
          - type: 'null'
          title: Utm Medium
        utm_campaign:
          anyOf:
          - type: string
            maxLength: 512
          - type: 'null'
          title: Utm Campaign
        source:
          anyOf:
          - type: string
            maxLength: 20
          - type: 'null'
          title: Source
      type: object
      title: AttributionCapture
      description: 'First-touch paid-ad attribution posted from the app auth callback.


        Every field is optional: the client forwards whatever the ad landing page

        captured. Empty strings are normalized to None, and a payload with no click

        id and no UTM is a no-op server-side (nothing to attribute). `ts` and any

        other stray keys are ignored (extra="ignore") so the cookie shape can grow

        on the client without breaking the endpoint.'