Togai website screenshot

Togai

Togai is a metering and billing platform for software and SaaS products, purpose-built for consumption-based and usage-based pricing models. The Togai API provides programmatic access to customers, accounts, event ingestion, usage meters, price plans, invoices, credits, entitlements, and financial reporting. Supports real-time billing orchestration across cloud infrastructure, generative AI services, and SaaS applications.

1 APIs 0 Features
BillingMeteringUsage-Based PricingRevenue ManagementSaaSFintech

APIs

Togai API

The Togai API provides full programmatic access to the Togai usage-based billing platform. Resources include customers, accounts, event schemas, usage meters, price plans, prici...

Collections

Togai Apis

OPEN

Pricing Plans

Togai Plans Pricing

3 plans

PLANS

Rate Limits

Togai Rate Limits

5 limits

RATE LIMITS

FinOps

Togai Finops

FINOPS

Semantic Vocabularies

Togai Context

21 classes · 6 properties

JSON-LD

API Governance Rules

Togai API Rules

9 rules · 2 errors 6 warnings 1 info

SPECTRAL

JSON Structure

Togai Customer Structure

0 properties

JSON STRUCTURE

Example Payloads

Togai Ingest Events Example

2 fields

EXAMPLE

Resources

🔗
LinkedIn
LinkedIn
🔗
Website
Website
🌐
DeveloperPortal
DeveloperPortal
🔗
Documentation
Documentation
🔗
APIReference
APIReference
📝
Signup
Signup
💰
Pricing
Pricing
📰
Blog
Blog
📄
ChangeLog
ChangeLog
👥
GitHubOrganization
GitHubOrganization
🔗
Sandbox
Sandbox
🔗
PostmanCollection
PostmanCollection
🔗
LlmsText
LlmsText

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Togai Apis
  version: '1.0'
request:
  auth:
    type: bearer
    token: '{{bearerToken}}'
items:
- info:
    name: Customers
    type: folder
  items:
  - info:
      name: List Customers
      type: http
    http:
      method: GET
      url: https://api.togai.com/customers
      params:
      - name: nextToken
        value: ''
        type: query
      - name: pageSize
        value: ''
        type: query
    docs: Returns a list of customers with pagination and sort.
  - info:
      name: Create a Customer
      type: http
    http:
      method: POST
      url: https://api.togai.com/customers
      body:
        type: json
        data: '{}'
    docs: This API let’s you to create customers and corresponding accounts.
  - info:
      name: Get a Customer
      type: http
    http:
      method: GET
      url: https://api.togai.com/customers/:customer_id
      params:
      - name: customer_id
        value: ''
        type: path
    docs: Get customer information using customer_id.
  - info:
      name: Update a Customer
      type: http
    http:
      method: PATCH
      url: https://api.togai.com/customers/:customer_id
      params:
      - name: customer_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: This API let’s you to update a customer’s information using customer_id.
  - info:
      name: Delete a Customer
      type: http
    http:
      method: DELETE
      url: https://api.togai.com/customers/:customer_id
      params:
      - name: customer_id
        value: ''
        type: path
    docs: This API let’s you to delete a customer using customer_id.
  - info:
      name: Create a Contact for the Customer
      type: http
    http:
      method: POST
      url: https://api.togai.com/customers/:customer_id/contacts
      params:
      - name: customer_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: This API let’s you to create a contact for the customer
- info:
    name: Accounts
    type: folder
  items:
  - info:
      name: List Accounts of Customer
      type: http
    http:
      method: GET
      url: https://api.togai.com/accounts
      params:
      - name: nextToken
        value: ''
        type: query
      - name: pageSize
        value: ''
        type: query
    docs: Returns a list of accounts of a customer with pagination and sort.
  - info:
      name: Create an Account
      type: http
    http:
      method: POST
      url: https://api.togai.com/accounts
      body:
        type: json
        data: '{}'
    docs: This API let’s you to create an account for a customer using customer_id.
  - info:
      name: Get an Account
      type: http
    http:
      method: GET
      url: https://api.togai.com/accounts/:account_id
      params:
      - name: account_id
        value: ''
        type: path
        description: account_id corresponding to an account
      - name: effectiveOn
        value: ''
        type: query
      - name: includeGroupDetails
        value: ''
        type: query
    docs: Get account information using customer_id and account_id.
  - info:
      name: Update an Account
      type: http
    http:
      method: PATCH
      url: https://api.togai.com/accounts/:account_id
      params:
      - name: account_id
        value: ''
        type: path
        description: account_id corresponding to an account
      body:
        type: json
        data: '{}'
    docs: This API let’s you to update an account’s information using customer_id and account_id.
  - info:
      name: Delete an Account
      type: http
    http:
      method: DELETE
      url: https://api.togai.com/accounts/:account_id
      params:
      - name: account_id
        value: ''
        type: path
        description: account_id corresponding to an account
    docs: This API let’s you to delete a customer using customer_id and account_id.
  - info:
      name: Add Aliases to Account
      type: http
    http:
      method: POST
      url: https://api.togai.com/accounts/:account_id/add_aliases
      params:
      - name: account_id
        value: ''
        type: path
        description: account_id corresponding to an account
      body:
        type: json
        data: '{}'
    docs: Add aliases to an account using customer_id and account_id.
  - info:
      name: Get All Aliases of an Account
      type: http
    http:
      method: GET
      url: https://api.togai.com/accounts/:account_id/account_aliases
      params:
      - name: account_id
        value: ''
        type: path
        description: account_id corresponding to an account
    docs: Get all aliases of an account using account_id
  - info:
      name: Remove Aliases to Account
      type: http
    http:
      method: POST
      url: https://api.togai.com/accounts/:account_id/remove_aliases
      params:
      - name: account_id
        value: ''
        type: path
        description: account_id corresponding to an account
      body:
        type: json
        data: '{}'
    docs: Remove existing aliases tagged to an account using this API
  - info:
      name: Dissociate or Associate a Price Plan with an Account
      type: http
    http:
      method: POST
      url: https://api.togai.com/accounts/:account_id/price_plans
      params:
      - name: account_id
        value: ''
        type: path
        description: account_id corresponding to an account
      body:
        type: json
        data: '{}'
    docs: This API let’s you to detach or attach a price plan with an existing account
  - info:
      name: Get All Purchases for an Account
      type: http
    http:
      method: GET
      url: https://api.togai.com/accounts/:account_id/purchases
      params:
      - name: account_id
        value: ''
        type: path
        description: account_id corresponding to an account
    docs: Get Purchase information for an account using account_id and price_plan_id
  - info:
      name: Initiate a Purchase
      type: http
    http:
      method: POST
      url: https://api.togai.com/accounts/:account_id/purchases
      params:
      - name: account_id
        value: ''
        type: path
        description: account_id corresponding to an account
      body:
        type: json
        data: '{}'
    docs: This API let’s you to initiate a purchase for an account
  - info:
      name: Get a Specific Purchase of an Account
      type: http
    http:
      method: GET
      url: https://api.togai.com/purchases/:purchase_id
      params:
      - name: purchase_id
        value: ''
        type: path
    docs: Get purchase information of an account for a specific plan using account_id and price_plan_id
  - info:
      name: List All Proposals of an Account
      type: http
    http:
      method: GET
      url: https://api.togai.com/accounts/:account_id/purchase_proposals
      params:
      - name: account_id
        value: ''
        type: path
        description: account_id corresponding to an account
    docs: List all proposals of an account
  - info:
      name: Propose a Purchase of a Plan
      type: http
    http:
      method: POST
      url: https://api.togai.com/accounts/:account_id/purchase_proposals
      params:
      - name: account_id
        value: ''
        type: path
        description: account_id corresponding to an account
      body:
        type: json
        data: '{}'
    docs: This API let’s you to create a proposal of a billing/entitlement plan for an account
  - info:
      name: Get Proposal Information
      type: http
    http:
      method: GET
      url: https://api.togai.com/purchase_proposals/:purchase_proposal_id
      params:
      - name: purchase_proposal_id
        value: ''
        type: path
    docs: Get proposal information
  - info:
      name: Edit Schedules of an Account
      type: http
    http:
      method: POST
      url: https://api.togai.com/accounts/:account_id/edit_schedules
      params:
      - name: account_id
        value: ''
        type: path
        description: account_id corresponding to an account
      - name: dry_run
        value: ''
        type: query
      body:
        type: json
        data: '{}'
    docs: This API let’s you to detach/attach one or more price plans from/to an existing account
  - info:
      name: List Pricing Schedules of an Account
      type: http
    http:
      method: GET
      url: https://api.togai.com/accounts/:account_id/pricing_schedules
      params:
      - name: nextToken
        value: ''
        type: query
      - name: pageSize
        value: ''
        type: query
      - name: account_id
        value: ''
        type: path
        description: account_id corresponding to an account
      - name: start_date
        value: ''
        type: query
      - name: end_date
        value: ''
        type: query
      - name: include_price_plan_info
        value: ''
        type: query
      - name: compact
        value: ''
        type: query
    docs: Returns a list of pricing schedules of an account with pagination and sort.
  - info:
      name: Approve or Decline a Purchase of a Billing Plan
      type: http
    http:
      method: POST
      url: https://api.togai.com/purchase_proposals/:purchase_proposal_id/update_status
      params:
      - name: purchase_proposal_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: This API let’s you to approve or decline a proposal of a billing plan for an account
- info:
    name: Aliases
    type: folder
  items:
  - info:
      name: List All Aliases
      type: http
    http:
      method: GET
      url: https://api.togai.com/aliases
      params:
      - name: nextToken
        value: ''
        type: query
      - name: pageSize
        value: ''
        type: query
    docs: Returns a list of aliases with pagination and sort.
  - info:
      name: Create an Alias
      type: http
    http:
      method: POST
      url: https://api.togai.com/aliases
      body:
        type: json
        data: '{}'
    docs: This API let’s you to create an alias
  - info:
      name: Get an Alias
      type: http
    http:
      method: GET
      url: https://api.togai.com/aliases/:alias
      params:
      - name: alias
        value: ''
        type: path
    docs: Get alias information using alias.
  - info:
      name: Delete an Alias
      type: http
    http:
      method: DELETE
      url: https://api.togai.com/aliases/:alias
      params:
      - name: alias
        value: ''
        type: path
    docs: This API let’s you to delete an alias using alias.
- info:
    name: InvoiceGroups
    type: folder
  items:
  - info:
      name: List Invoice Groups
      type: http
    http:
      method: GET
      url: https://api.togai.com/invoice_groups
    docs: This API let’s you to list invoice groups
  - info:
      name: Create an Invoice Group
      type: http
    http:
      method: POST
      url: https://api.togai.com/invoice_groups
      body:
        type: json
        data: '{}'
    docs: This API let’s you to create an invoice group
  - info:
      name: Get Information of an Invoice Group
      type: http
    http:
      method: GET
      url: https://api.togai.com/invoice_groups/:invoice_group_id
      params:
      - name: invoice_group_id
        value: ''
        type: path
    docs: This API let’s you to get information of an invoice group
  - info:
      name: Add Accounts to an Invoice Group
      type: http
    http:
      method: POST
      url: https://api.togai.com/invoice_groups/:invoice_group_id/add_accounts
      params:
      - name: invoice_group_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: This API let’s you to add accounts to an invoice group
  - info:
      name: Remove Accounts From an Invoice Group. Removing All Accounts Will Also Delete the Invoice Group
      type: http
    http:
      method: POST
      url: https://api.togai.com/invoice_groups/:invoice_group_id/remove_accounts
      params:
      - name: invoice_group_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: This API let’s you to remove accounts from an invoice group. Removing all accounts will also delete the invoice
      group
- info:
    name: Event Schemas
    type: folder
  items:
  - info:
      name: List Event Schemas
      type: http
    http:
      method: GET
      url: https://api.togai.com/event_schema
      params:
      - name: status
        value: ''
        type: query
        description: Filter by provided status
      - name: nextToken
        value: ''
        type: query
      - name: pageSize
        value: ''
        type: query
    docs: Returns a list of event schema with pagination.
  - info:
      name: Create an Event Schema
      type: http
    http:
      method: POST
      url: https://api.togai.com/event_schema
      body:
        type: json
        data: '{}'
    docs: Create an event schema with attributes and dimensions to process events.
  - info:
      name: Get an Event Schema
      type: http
    http:
      method: GET
      url: https://api.togai.com/event_schema/:event_schema_name
      params:
      - name: event_schema_name
        value: ''
        type: path
      - name: version
        value: ''
        type: query
        description: Optional version to get a specific version. Gets latest version if it is not provided.
    docs: Get an event schema
  - info:
      name: Update an Event Schema
      type: http
    http:
      method: PATCH
      url: https://api.togai.com/event_schema/:event_schema_name
      params:
      - name: event_schema_name
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: "Update an event schema and add new attributes and dimensions\n\nOnce an event schema is activated, you cannot update\
      \ or delete existing attributes and dimensions however you can add new attributes and dimensions and update event schema\
      \ description.\n    operationId: updateEventSchema\n"
  - info:
      name: Delete an Event Schema
      type: http
    http:
      method: DELETE
      url: https://api.togai.com/event_schema/:event_schema_name
      params:
      - name: event_schema_name
        value: ''
        type: path
    docs: To delete(archive) an event schema, you’re required to archive associated active usage meters if any.
  - info:
      name: List All Event Schema Versions
      type: http
    http:
      method: GET
      url: https://api.togai.com/event_schema/:event_schema_name/versions
      params:
      - name: event_schema_name
        value: ''
        type: path
    docs: Get a list of all the versions of an event schema
  - info:
      name: Activate an Event Schema
      type: http
    http:
      method: POST
      url: https://api.togai.com/event_schema/:event_schema_name/activate
      params:
      - name: event_schema_name
        value: ''
        type: path
    docs: Activate an event schema
  - info:
      name: Deactivate an Event Schema
      type: http
    http:
      method: POST
      url: https://api.togai.com/event_schema/:event_schema_name/deactivate
      params:
      - name: event_schema_name
        value: ''
        type: path
    docs: 'You can deactivate an event schema using this API. In case you have an activate usage meter associated with the
      event schema, you will need to deactivate it first and then try deactivating the event schema.

      '
- info:
    name: Usage Meters
    type: folder
  items:
  - info:
      name: List Usage Meters for Event Schema
      type: http
    http:
      method: GET
      url: https://api.togai.com/usage_meters
      params:
      - name: status
        value: ''
        type: query
        description: 'Filter by status

          '
      - name: aggregations
        value: ''
        type: query
        description: 'Filter by aggregations

          '
      - name: nextToken
        value: ''
        type: query
      - name: pageSize
        value: ''
        type: query
    docs: Get a list of usage meters associated with an event schema
  - info:
      name: Create an Usage Meter
      type: http
    http:
      method: POST
      url: https://api.togai.com/usage_meters
      body:
        type: json
        data: '{}'
    docs: Create an usage meter and associate with an event schema
  - info:
      name: Get Usage Meter
      type: http
    http:
      method: GET
      url: https://api.togai.com/usage_meters/:usage_meter_id
      params:
      - name: usage_meter_id
        value: ''
        type: path
    docs: Get an usage meter using event schema name and usage meter id.
  - info:
      name: Update an Usage Meter
      type: http
    http:
      method: PATCH
      url: https://api.togai.com/usage_meters/:usage_meter_id
      params:
      - name: usage_meter_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: This API lets you update an existing usage meter.
  - info:
      name: Delete an Usage Meter
      type: http
    http:
      method: DELETE
      url: https://api.togai.com/usage_meters/:usage_meter_id
      params:
      - name: usage_meter_id
        value: ''
        type: path
    docs: Delete an Usage Meter
  - info:
      name: Activate Usage Meter
      type: http
    http:
      method: POST
      url: https://api.togai.com/usage_meters/:usage_meter_id/activate
      params:
      - name: usage_meter_id
        value: ''
        type: path
    docs: Activate usage meter
  - info:
      name: Deactivate Usage Meter
      type: http
    http:
      method: POST
      url: https://api.togai.com/usage_meters/:usage_meter_id/deactivate
      params:
      - name: usage_meter_id
        value: ''
        type: path
    docs: 'Make an existing active usage meter to be inactive

      Active Usage Meters with active Pricing Plan attached can also be deactivated.

      '
- info:
    name: Price Plans
    type: folder
  items:
  - info:
      name: List Price Plans
      type: http
    http:
      method: GET
      url: https://api.togai.com/price_plans
      params:
      - name: nextToken
        value: ''
        type: query
      - name: pageSize
        value: ''
        type: query
    docs: Get a list of price plans
  - info:
      name: Create a Price Plan
      type: http
    http:
      method: POST
      url: https://api.togai.com/price_plans
      params:
      - name: dry_run
        value: ''
        type: query
      body:
        type: json
        data: '{}'
    docs: 'This API let''s you create and price plan

      Learn more about [Price Plans](https://docs.togai.com/docs/priceplan)

      '
  - info:
      name: Get a Price Plan
      type: http
    http:
      method: GET
      url: https://api.togai.com/price_plans/:price_plan_id
      params:
      - name: price_plan_id
        value: ''
        type: path
      - name: version
        value: ''
        type: query
        description: Optional version to get a specific version. Gets latest version if it is not provided.
    docs: Get a price plan details using price plan id
  - info:
      name: Update a Price Plan
      type: http
    http:
      method: PATCH
      url: https://api.togai.com/price_plans/:price_plan_id
      params:
      - name: price_plan_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: 'Update an existing price plan

      Price Plans with status as DRAFT alone can be updated . Learn more about [Price plans](https://docs.togai.com/docs/priceplan)
      from our Guides

      '
  - info:
      name: Archive a Price Plan
      type: http
    http:
      method: DELETE
      url: https://api.togai.com/price_plans/:price_plan_id
      params:
      - name: price_plan_id
        value: ''
        type: path
    docs: Archive a price plan
  - info:
      name: Activate a Price Plan
      type: http
    http:
      method: POST
      url: https://api.togai.com/price_plans/:price_plan_id/activate
      params:
      - name: price_plan_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Activate a price plan details using price plan id
  - info:
      name: Add Currencies to a Price Plan
      type: http
    http:
      method: POST
      url: https://api.togai.com/price_plans/:price_plan_id/currencies
      params:
      - name: price_plan_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Add currencies to a price plan
  - info:
      name: Remove a Draft Currency From a Price Plan
      type: http
    http:
      method: DELETE
      url: https://api.togai.com/price_plans/:price_plan_id/currencies/:currency_id
      params:
      - name: price_plan_id
        value: ''
        type: path
      - name: currency_id
        value: ''
        type: path
    docs: Remove a draft currency from a price plan
  - info:
      name: Create a Price Plan Migration
      type: http
    http:
      method: POST
      url: https://api.togai.com/price_plans/migration
      body:
        type: json
        data: '{}'
    docs: "Migrates accounts across price plans. This is an asynchronous process functioning on top of Togai's Jobs \nframework.\
      \ Status of the created migrations can be obtained using the [Jobs APIs](https://docs.togai.com/api-reference/jobs/get-the-status-of-a-job)\n"
- info:
    name: Pricing Rules
    type: folder
  items:
  - info:
      name: List Pricing Rules by Price Plan Id and Pricing Schedule Id
      type: http
    http:
      method: GET
      url: https://api.togai.com/price_plans/:price_plan_id/pricing_schedules/:pricing_schedule_id/pricing_rules
      params:
      - name: price_plan_id
        value: ''
        type: path
      - name: pricing_schedule_id
        value: ''
        type: path
      - name: invoice_timing
        value: ''
        type: query
        description: Optional field to filter pricing rules based on invoice timing
    docs: Get a list of pricing rules using price plan id and pricing schedule id
- info:
    name: AddOns
    type: folder
  items:
  - info:
      name: List AddOns
      type: http
    http:
      method: GET
      url: https://api.togai.com/addons
      params:
      - name: status
        value: ''
        type: query
        description: 'Filter by status

          '
      - name: nextToken
        value: ''
        type: query
      - name: pageSize
        value: ''
        type: query
    docs: Get a list of add-ons
  - info:
      name: Create an AddOn
      type: http
    http:
      method: POST
      url: https://api.togai.com/addons
      body:
        type: json
        data: '{}'
    docs: Create an AddOn
  - info:
      name: Get an Addon
      type: http
    http:
      method: GET
      url: https://api.togai.com/addons/:addon_id
      params:
      - name: addon_id
        value: ''
        type: path
    docs: Get details of an addon
  - info:
      name: Update an Addon
      type: http
    http:
      method: PATCH
      url: https://api.togai.com/addons/:addon_id
      params:
      - name: addon_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: 'Update an existing addon

      '
  - info:
      name: Delete an Addon
      type: http
    http:
      method: DELETE
      url: https://api.togai.com/addons/:addon_id
      params:
      - name: addon_id
        value: ''
        type: path
    docs: Archive an addOn
- info:
    name: Feature
    type: folder
  items:
  - info:
      name: List Feature
      type: http
    http:
      method: GET
      url: https://api.togai.com/features
      params:
      - name: nextToken
        value: ''
        type: query
      - name: pageSize
        value: ''
        type: query
    docs: Get a list of features along with its associations
  - info:
      name: Create a Feature and Optionally Associate with One or More Event_schemas
      type: http
    http:
      method: POST
      url: https://api.togai.com/features
      body:
        type: json
        data: '{}'
    docs: Create a Feature optionally associate with one or more event_schemas
  - info:
      name: Get a Feature
      type: http
    http:
      method: GET
      url: https://api.togai.com/features/:feature_id
      params:
      - name: feature_id
        value: ''
        type: path
        description: feature_id corresponding to a feature
    docs: Get details of a Feature
  - info:
      name: Update a Feature
      type: http
    http:
      method: PATCH
      url: https://api.togai.com/features/:feature_id
      params:
      - name: feature_id
        value: ''
        type: path
        description: feature_id corresponding to a feature
      body:
        type: json
        data: '{}'
    docs: 'Update an existing feature and its eventSchema associations

      '
- info:
    name: Settings
    type: folder
  items:
  - info:
      name: Lists Settings
      type: http
    http:
      method: GET
      url: https://api.togai.com/settings
      params:
      - name: nextToken
        value: ''
        type: query
      - name: pageSize
        value: ''
        type: query
      - name: entity_type
        value: ''
        type: query
      - name: entity_id
        value: ''
        type: query
      - name: setting_id
        value: ''
        type: query
      - name: namespace
        value: ''
        type: query
    docs: List settings
  - info:
      name: Create a Setting
      type: http
    http:
      method: POST
      url: https://api.togai.com/settings
      body:
        type: json
        data: '{}'
    docs: Create a setting
  - info:
      name: Get a Setting
      type: http
    http:
      method: GET
      url: https://api.togai.com/settings/:setting_id_str
      params:
      - name: setting_id_str
        value: ''
        type: path
    docs: Get a setting
  - info:
      name: Update a Setting
      type: http
    http:
      method: PATCH
      url: https://api.togai.com/settings/:setting_id_str
      params:
      - name: setting_id_str
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Update a setting
- info:
    name: Price Experimentation
    type: folder
  items:
  - info:
      name: Calculate and Return the Revenue for a Existing or New Price Plan
      type: http
    http:
      method: POST
      url: https://api.togai.com/revenue_calculator
      body:
        type: json
        data: '{}'
    docs: Calculate and return the revenue for a existing or new price plan
- info:
    name: Jobs
    type: folder
  items:
  - info:
      name: Get the Status of a Job
      type: http
    http:
      method: GET
      url: https://api.togai.com/jobs/:job_id
      params:
      - name: job_id
        value: ''
        type: path
    docs: Get the status of a job
  - info:
      name: List Jobs
      type: http
    http:
      method: GET
      url: https://api.togai.com/jobs
      params:
      - name: nextToken
        value: ''
        type: query
      - name: pageSize
        value: ''
        type: query
    docs: Returns a list of jobs with pagination and sort.
  - info:
      name: Confirm a Job
      type: http
    http:
      method: POST
      url: https://api.togai.com/jobs/:job_id/confirm
      params:
      - name: job_id
        value: ''
        type: path
    docs: Confirm a job
  - info:
      name: Reject a Job
      type: http
    http:
      method: POST
      url: https://api.togai.com/jobs/:job_id/reject
      params:
      - name: job_id
        value: ''
        type: path
    docs: Reject a job
  - info:
      name: List Job Entries
      type: http
    http:
      method: GET
      url: https://api.togai.com/jobs/:job_id/entries
      params:
      - name: job_id
        value: ''
        type: path
    docs: List individual job entries and current state of processing
- info:
    name: File Storage
    type: folder
  items:
  - info:
      name: Get a File
      type: http
    http:
      method: GET
      url: https://api.togai.com/files/:file_id
      params:
      - name: file_id
        value: ''
        type: path
    docs: Get a file
  - info:
      name: Get a Download Url for a File
      type: http
    http:
      method: GET
      url: https://api.togai.com/files/:file_id/download_url
      params:
      - name: file_id
        value: ''
        type: path
    docs: Get a download url for a file
- info:
    name: Customer Portal
    type: folder
  items:
  - info:
      name: Get Delegate Token for Customer Portal
      type: http
    http:
      method: POST
      url: https://api.togai.com/portal/token
      body:
        type: json
        data: '{}'
    docs: Get delegate token for customer portal
- info:
    name: Event Ingestion
    type: folder
  items:
  - info:
      name: Ingest Events to Togai
      type: http
    http:
      method: POST
      url: https://api.togai.com/ingest
      body:
        type: json
        data: '{}'
    docs: 'This API let’s you to ingest events to your Togai account.

      Events ingested using this API will be processed via associated usage meters and further via associated price plans
      to generate final billable value to invoice the customer

      Read more about [Event Ingestion](https://docs.togai.com/docs/event-ingestion)

      '
  - info:
      name: Ingest Events to Togai in Batch
      type: http
    http:
      method: POST
      url: https://api.togai.com/ingestBatch
      body:
        type: json
        data: '{}'
    docs: 'This API let’s you to ingest events in batch upto 500 events.

      Ingest large amounts of events up to 500 in batches in an array using this API.'
- info:
    name: Event Management
    type: folder
  items:
  - info:
      name: Get a List of Usage Events with Multiple Query Options
      type: http
    http:
      method: GET
      url: https://api.togai.com/events
      params:
      - name: nextToken
        value: ''
        type: query
        description: Pagination token used as a marker to get records from next page.
      - name: status
        value: ''
        type: query
        description: Filter option to filter by status.
      - name: account_id
        value: ''
        type: query
        description: Filter option to filter based on account id.
      - name: schema_name
        value: ''
        type: query
        description: Filter option to filter the events based on schema name.
      - name: pageSize
        value: ''
        type: query
        description: "Maximum page size expected by client to return the record list. \n\n NOTE: Max page size cannot be more\
          \ than 50. Also 50 is the default page size if no value is provided."
    docs: This API let’s you to fetch a list of events with multiple query parameters
  - info:
      name: Get an Event Using Event Id
      type: http
    http:
      method: GET
      url: https://api.togai.com/events/:event_id
      params:
      - name: event_id
        value: ''
        type: path
    docs: Fetch details of a particular event using the event ID.
  - info:
      name: Correct an Ingested Event
      type: http
    http:
      method: POST
      url: https://api.togai.com/events/correction
      params:
      - name: action
        value: ''
        type: query
        description: Action to perform in event correction
      - name: require_confirmation
        value: ''
        type: query
        description: Specifies whether to start a migration only after a confirmation
      body:
        type: json
        data: '{}'
    docs: '#### This API lets you to correct events. Available in both synchronous and asynchronous mode

      - **Usages**: Reduction of all usages associated with this event

      - **Revenue**: Reduction of all revenues associated with this event

      - **Entitlements**: Entitlements(Feature Credits) consumed by this event are granted back to the account.


      ### Possible Actions:

      - UNDO: Undo all usages, revenue and entitlements associated with an event

      - REDO: Performs UNDO and re-ingests the same event

      - REDO_EVENT: Per'
- info:
    name: Metrics
    type: folder
  items:
  - info:
      name: Get Togai Metrics
      type: http
    http:
      method: POST
      url: https://api.togai.com/metrics
      body:
        type: json
        data: '{}'
    docs: "Togai Metrics API allows you to fetch different me

# --- truncated at 32 KB (50 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/togai/refs/heads/main/apis.yml