KosmoKrator

data

Brex CLI for AI Agents

Use the Brex CLI from KosmoKrator to call Brex tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

Brex CLI Setup

Brex can be configured headlessly with `kosmokrator integrations:configure brex`.

Install, configure, and verify
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure brex --set access_token="$BREX_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor brex --json
kosmokrator integrations:status --json

Credentials

Authentication type: Manual OAuth token oauth2_manual_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

KeyEnv varTypeRequiredLabel
access_token BREX_ACCESS_TOKEN Secret secret yes Access Token
url BREX_URL URL url no API Base URL

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call brex.brex_accounting_create_integration '{}' --json
Provider shortcut
kosmo integrations:brex brex_accounting_create_integration '{}' --json

Discovery

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

Discovery commands
kosmo integrations:docs brex --json
kosmo integrations:docs brex.brex_accounting_create_integration --json
kosmo integrations:schema brex.brex_accounting_create_integration --json
kosmo integrations:search "Brex" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

brex.brex_accounting_create_integration

Create a new accounting integration. The behavior depends on the existing active integration: - If no active integration exists: Creates and returns new integration - If active ...

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_accounting_create_integration '{}' --json
Shortcut
kosmo integrations:brex brex_accounting_create_integration '{}' --json

brex.brex_accounting_disconnect_integration

Disconnect an active accounting integration. - If integration is ACTIVE: Disconnects and returns success - If integration ID doesn't exist: Returns 404 error - If integration is...

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_accounting_disconnect_integration '{}' --json
Shortcut
kosmo integrations:brex brex_accounting_disconnect_integration '{}' --json

brex.brex_accounting_reactivate_integration

Reactivate a disconnected accounting integration. - If integration is DISABLED: Reactivates and returns success - If integration ID doesn't exist: Returns 404 error - If an acti...

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_accounting_reactivate_integration '{}' --json
Shortcut
kosmo integrations:brex brex_accounting_reactivate_integration '{}' --json

brex.brex_accounting_get_accounting_record

Retrieve a single accounting record by its unique identifier

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_accounting_get_accounting_record '{}' --json
Shortcut
kosmo integrations:brex brex_accounting_get_accounting_record '{}' --json

brex.brex_accounting_query_accounting_records

Query accounting records by IDs or with filters for polling. When building integrations with Brex accounting workflow, use filter-based polling as a fallback mechanism. Suggeste...

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_accounting_query_accounting_records '{}' --json
Shortcut
kosmo integrations:brex brex_accounting_query_accounting_records '{}' --json

brex.brex_accounting_report_accounting_export_results

Report export success or failure for accounting records.

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_accounting_report_accounting_export_results '{}' --json
Shortcut
kosmo integrations:brex brex_accounting_report_accounting_export_results '{}' --json

brex.brex_budgets_list_budget_programs

Lists Budget Programs belonging to this account

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_budgets_list_budget_programs '{}' --json
Shortcut
kosmo integrations:brex brex_budgets_list_budget_programs '{}' --json

brex.brex_budgets_get_budget_program_by_id

Retrieves a Budget Program by ID

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_budgets_get_budget_program_by_id '{}' --json
Shortcut
kosmo integrations:brex brex_budgets_get_budget_program_by_id '{}' --json

brex.brex_budgets_list_budgets

Lists Spend Limits belonging to this account

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_budgets_list_budgets '{}' --json
Shortcut
kosmo integrations:brex brex_budgets_list_budgets '{}' --json

brex.brex_budgets_create_budget

Creates a Spend Limit

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_budgets_create_budget '{}' --json
Shortcut
kosmo integrations:brex brex_budgets_create_budget '{}' --json

brex.brex_budgets_get_budget_by_id

Retrieves a Spend Limit by ID

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_budgets_get_budget_by_id '{}' --json
Shortcut
kosmo integrations:brex brex_budgets_get_budget_by_id '{}' --json

brex.brex_budgets_update_budget

Updates a Spend Limit

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_budgets_update_budget '{}' --json
Shortcut
kosmo integrations:brex brex_budgets_update_budget '{}' --json

brex.brex_budgets_archive_budget

Archives a Spend Limit, making it unusable for future expenses and removing it from the UI

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_budgets_archive_budget '{}' --json
Shortcut
kosmo integrations:brex brex_budgets_archive_budget '{}' --json

brex.brex_budgets_list_spend_budgets

Retrieves a list of Budgets

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_budgets_list_spend_budgets '{}' --json
Shortcut
kosmo integrations:brex brex_budgets_list_spend_budgets '{}' --json

brex.brex_budgets_create_spend_budget

Creates a Budget

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_budgets_create_spend_budget '{}' --json
Shortcut
kosmo integrations:brex brex_budgets_create_spend_budget '{}' --json

brex.brex_budgets_get_spend_budget_by_id

Retrieves a Budget by ID

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_budgets_get_spend_budget_by_id '{}' --json
Shortcut
kosmo integrations:brex brex_budgets_get_spend_budget_by_id '{}' --json

brex.brex_budgets_update_spend_budget

Updates a Budget

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_budgets_update_spend_budget '{}' --json
Shortcut
kosmo integrations:brex brex_budgets_update_spend_budget '{}' --json

brex.brex_budgets_archive_spend_budget

Archives a Budget, making any Spend Limits beneath it unusable for future expenses and removing it from the UI

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_budgets_archive_spend_budget '{}' --json
Shortcut
kosmo integrations:brex brex_budgets_archive_spend_budget '{}' --json

brex.brex_budgets_list_spend_limits

Retrieves a list of Spend Limits

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_budgets_list_spend_limits '{}' --json
Shortcut
kosmo integrations:brex brex_budgets_list_spend_limits '{}' --json

brex.brex_budgets_create_spend_limit

Creates a Spend Limit

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_budgets_create_spend_limit '{}' --json
Shortcut
kosmo integrations:brex brex_budgets_create_spend_limit '{}' --json

brex.brex_budgets_get_spend_limit_by_id

Retrieves a Spend Limit by ID

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_budgets_get_spend_limit_by_id '{}' --json
Shortcut
kosmo integrations:brex brex_budgets_get_spend_limit_by_id '{}' --json

brex.brex_budgets_update_spend_limit

Updates a Spend Limit

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_budgets_update_spend_limit '{}' --json
Shortcut
kosmo integrations:brex brex_budgets_update_spend_limit '{}' --json

brex.brex_budgets_archive_spend_limit

Archives a Spend Limit, making it unusable for future expenses and removing it from the UI

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_budgets_archive_spend_limit '{}' --json
Shortcut
kosmo integrations:brex brex_budgets_archive_spend_limit '{}' --json

brex.brex_expenses_list_expenses

List expenses under the same account. Admin and bookkeeper have access to any expense, and regular users can only access their own.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_expenses_list_expenses '{}' --json
Shortcut
kosmo integrations:brex brex_expenses_list_expenses '{}' --json

brex.brex_expenses_list_expenses_1

This endpoint is deprecated. Use the "List expenses" (`GET /v1/expenses`) endpoint instead.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_expenses_list_expenses_1 '{}' --json
Shortcut
kosmo integrations:brex brex_expenses_list_expenses_1 '{}' --json

brex.brex_expenses_receipt_match

The `uri` will be a pre-signed S3 URL allowing you to upload the receipt securely. This URL can only be used for a `PUT` operation and expires 30 minutes after its creation. Onc...

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_expenses_receipt_match '{}' --json
Shortcut
kosmo integrations:brex brex_expenses_receipt_match '{}' --json

brex.brex_expenses_get_card_expense

This endpoint is deprecated. Use the "Get an expense" (`GET /v1/expenses/{id}`) endpoint instead.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_expenses_get_card_expense '{}' --json
Shortcut
kosmo integrations:brex brex_expenses_get_card_expense '{}' --json

brex.brex_expenses_update_expense

Update an expense. Admin and bookkeeper have access to any expense, and regular users can only access their own.

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_expenses_update_expense '{}' --json
Shortcut
kosmo integrations:brex brex_expenses_update_expense '{}' --json

brex.brex_expenses_receipt_upload

The `uri` will be a pre-signed S3 URL allowing you to upload the receipt securely. This URL can only be used for a `PUT` operation and expires 30 minutes after its creation. Onc...

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_expenses_receipt_upload '{}' --json
Shortcut
kosmo integrations:brex brex_expenses_receipt_upload '{}' --json

brex.brex_expenses_get_expense

Get an expense by its ID.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_expenses_get_expense '{}' --json
Shortcut
kosmo integrations:brex brex_expenses_get_expense '{}' --json

brex.brex_fields_list_fields

List custom fields under the same account

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_fields_list_fields '{}' --json
Shortcut
kosmo integrations:brex brex_fields_list_fields '{}' --json

brex.brex_fields_create_field

Create a custom field

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_fields_create_field '{}' --json
Shortcut
kosmo integrations:brex brex_fields_create_field '{}' --json

brex.brex_fields_list_field_values

List values under the same custom field

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_fields_list_field_values '{}' --json
Shortcut
kosmo integrations:brex brex_fields_list_field_values '{}' --json

brex.brex_fields_update_field_values

Update custom field values (up to 1000 values at once) for a specific field

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_fields_update_field_values '{}' --json
Shortcut
kosmo integrations:brex brex_fields_update_field_values '{}' --json

brex.brex_fields_create_field_values

Create custom field values (up to 1000 values at once) for a specific field

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_fields_create_field_values '{}' --json
Shortcut
kosmo integrations:brex brex_fields_create_field_values '{}' --json

brex.brex_fields_delete_field_values

Delete custom field values (up to 1000 values at once) for a specific field

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_fields_delete_field_values '{}' --json
Shortcut
kosmo integrations:brex brex_fields_delete_field_values '{}' --json

brex.brex_fields_get_field_value_by_id

Get a field value by field ID and field value ID

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_fields_get_field_value_by_id '{}' --json
Shortcut
kosmo integrations:brex brex_fields_get_field_value_by_id '{}' --json

brex.brex_fields_get_field_by_id

Get a custom field by Brex ID

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_fields_get_field_by_id '{}' --json
Shortcut
kosmo integrations:brex brex_fields_get_field_by_id '{}' --json

brex.brex_fields_update_field

Update a field by ID

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_fields_update_field '{}' --json
Shortcut
kosmo integrations:brex brex_fields_update_field '{}' --json

brex.brex_fields_delete_field

Delete a custom field by Brex ID

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_fields_delete_field '{}' --json
Shortcut
kosmo integrations:brex brex_fields_delete_field '{}' --json

brex.brex_onboarding_list_referrals

Returns referrals created. *Note*: This doesn't include referrals that have expired.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_onboarding_list_referrals '{}' --json
Shortcut
kosmo integrations:brex brex_onboarding_list_referrals '{}' --json

brex.brex_onboarding_create_referral_request

This creates new referrals. The response will contain an identifier and a unique personalized link to an application flow. Many fields are optional and when they're provided the...

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_onboarding_create_referral_request '{}' --json
Shortcut
kosmo integrations:brex brex_onboarding_create_referral_request '{}' --json

brex.brex_onboarding_get_referral

Returns a referral object by ID if it exists.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_onboarding_get_referral '{}' --json
Shortcut
kosmo integrations:brex brex_onboarding_get_referral '{}' --json

brex.brex_onboarding_create_document

The `uri` will be a presigned S3 URL allowing you to upload the referral doc securely. This URL can only be used for a `PUT` operation and expires 30 minutes after its creation....

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_onboarding_create_document '{}' --json
Shortcut
kosmo integrations:brex brex_onboarding_create_document '{}' --json

brex.brex_onboarding_process_delayed_eindocument

Processes a delayed EIN document after it has been uploaded. This endpoint should be called after successfully uploading an IRS EIN Confirmation document (CP-575, CP-575 fax she...

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_onboarding_process_delayed_eindocument '{}' --json
Shortcut
kosmo integrations:brex brex_onboarding_process_delayed_eindocument '{}' --json

brex.brex_payments_create_incoming_transfer

This endpoint creates a new incoming transfer. You may use use any eligible bank account connection to fund (ACH Debit) any active Brex business account. **Reminder**: You may n...

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_payments_create_incoming_transfer '{}' --json
Shortcut
kosmo integrations:brex brex_payments_create_incoming_transfer '{}' --json

brex.brex_payments_list_linked_accounts

This endpoint lists all bank connections that are eligible to make ACH transfers to Brex business account

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_payments_list_linked_accounts '{}' --json
Shortcut
kosmo integrations:brex brex_payments_list_linked_accounts '{}' --json

brex.brex_payments_list_transfers

This endpoint lists existing transfers for an account. Currently, the API can only return transfers for the following payment rails: - ACH - DOMESTIC_WIRE - CHEQUE - INTERNATION...

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_payments_list_transfers '{}' --json
Shortcut
kosmo integrations:brex brex_payments_list_transfers '{}' --json

brex.brex_payments_create_transfer

This endpoint creates a new transfer. Currently, the API can only create transfers for the following payment rails: - ACH - DOMESTIC_WIRE - CHEQUE - INTERNATIONAL_WIRES **Transa...

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_payments_create_transfer '{}' --json
Shortcut
kosmo integrations:brex brex_payments_create_transfer '{}' --json

brex.brex_payments_get_transfers_by_id

This endpoint gets a transfer by ID. Currently, the API can only return transfers for the following payment rails: - ACH - DOMESTIC_WIRE - CHEQUE - INTERNATIONAL_WIRE

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_payments_get_transfers_by_id '{}' --json
Shortcut
kosmo integrations:brex brex_payments_get_transfers_by_id '{}' --json

brex.brex_payments_list_vendors

This endpoint lists all existing vendors for an account. Takes an optional parameter to match by vendor name.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_payments_list_vendors '{}' --json
Shortcut
kosmo integrations:brex brex_payments_list_vendors '{}' --json

brex.brex_payments_create_vendor

This endpoint creates a new vendor.

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_payments_create_vendor '{}' --json
Shortcut
kosmo integrations:brex brex_payments_create_vendor '{}' --json

brex.brex_payments_get_vendor_by_id

This endpoint gets a vendor by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_payments_get_vendor_by_id '{}' --json
Shortcut
kosmo integrations:brex brex_payments_get_vendor_by_id '{}' --json

brex.brex_payments_update_vendor

Updates an existing vendor by ID.

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_payments_update_vendor '{}' --json
Shortcut
kosmo integrations:brex brex_payments_update_vendor '{}' --json

brex.brex_payments_delete_vendor

This endpoint deletes a vendor by ID.

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_payments_delete_vendor '{}' --json
Shortcut
kosmo integrations:brex brex_payments_delete_vendor '{}' --json

brex.brex_team_list_cards_by_user_id

Lists all cards by a `user_id`. Only cards with `limit_type = CARD` have `spend_controls`

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_list_cards_by_user_id '{}' --json
Shortcut
kosmo integrations:brex brex_team_list_cards_by_user_id '{}' --json

brex.brex_team_create_card

Creates a new card. The `spend_controls` field is required when `limit_type` = `CARD`. The `mailing_address` field is required for physical cards and is the shipping address use...

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_create_card '{}' --json
Shortcut
kosmo integrations:brex brex_team_create_card '{}' --json

brex.brex_team_get_card_by_id

Retrieves a card by ID. Only cards with `limit_type = CARD` have `spend_controls`

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_get_card_by_id '{}' --json
Shortcut
kosmo integrations:brex brex_team_get_card_by_id '{}' --json

brex.brex_team_update_card

Update an existing vendor card

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_update_card '{}' --json
Shortcut
kosmo integrations:brex brex_team_update_card '{}' --json

brex.brex_team_lock_card

Locks an existing, unlocked card. And the card owner will receive a notification about it.

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_lock_card '{}' --json
Shortcut
kosmo integrations:brex brex_team_lock_card '{}' --json

brex.brex_team_get_card_number

Retrieves card number, CVV, and expiration date of a card by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_get_card_number '{}' --json
Shortcut
kosmo integrations:brex brex_team_get_card_number '{}' --json

brex.brex_team_email_card_number

Creates a secure email to send card number, CVV, and expiration date of a card by ID to the specified email. This endpoint is currently gated. If you would like to request acces...

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_email_card_number '{}' --json
Shortcut
kosmo integrations:brex brex_team_email_card_number '{}' --json

brex.brex_team_terminate_card

Terminates an existing card. The card owner will receive a notification about it.

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_terminate_card '{}' --json
Shortcut
kosmo integrations:brex brex_team_terminate_card '{}' --json

brex.brex_team_unlock_card

Unlocks an existing card.

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_unlock_card '{}' --json
Shortcut
kosmo integrations:brex brex_team_unlock_card '{}' --json

brex.brex_team_get_company

This endpoint returns the company associated with the OAuth2 access token.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_get_company '{}' --json
Shortcut
kosmo integrations:brex brex_team_get_company '{}' --json

brex.brex_team_list_departments

This endpoint lists all departments.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_list_departments '{}' --json
Shortcut
kosmo integrations:brex brex_team_list_departments '{}' --json

brex.brex_team_create_department

This endpoint creates a new department

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_create_department '{}' --json
Shortcut
kosmo integrations:brex brex_team_create_department '{}' --json

brex.brex_team_get_department_by_id

This endpoint gets a department by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_get_department_by_id '{}' --json
Shortcut
kosmo integrations:brex brex_team_get_department_by_id '{}' --json

brex.brex_team_list_legal_entities

List legal entities for the account.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_list_legal_entities '{}' --json
Shortcut
kosmo integrations:brex brex_team_list_legal_entities '{}' --json

brex.brex_team_get_legal_entity

Get a legal entity by its ID.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_get_legal_entity '{}' --json
Shortcut
kosmo integrations:brex brex_team_get_legal_entity '{}' --json

brex.brex_team_list_locations

This endpoint lists all locations.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_list_locations '{}' --json
Shortcut
kosmo integrations:brex brex_team_list_locations '{}' --json

brex.brex_team_create_location

This endpoint creates a new location.

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_create_location '{}' --json
Shortcut
kosmo integrations:brex brex_team_create_location '{}' --json

brex.brex_team_get_location_by_id

This endpoint gets a location by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_get_location_by_id '{}' --json
Shortcut
kosmo integrations:brex brex_team_get_location_by_id '{}' --json

brex.brex_team_list_titles

This endpoint lists all titles.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_list_titles '{}' --json
Shortcut
kosmo integrations:brex brex_team_list_titles '{}' --json

brex.brex_team_create_title

This endpoint creates a new title

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_create_title '{}' --json
Shortcut
kosmo integrations:brex brex_team_create_title '{}' --json

brex.brex_team_get_title_by_id

This endpoint gets a title by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_get_title_by_id '{}' --json
Shortcut
kosmo integrations:brex brex_team_get_title_by_id '{}' --json

brex.brex_team_list_users

This endpoint lists all users. To find a user id by email, you can filter using the `email` query parameter.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_list_users '{}' --json
Shortcut
kosmo integrations:brex brex_team_list_users '{}' --json

brex.brex_team_create_user

This endpoint invites a new user as an employee. To update user's role, check out [this article](https://support.brex.com/how-do-i-change-another-user-s-role/).

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_create_user '{}' --json
Shortcut
kosmo integrations:brex brex_team_create_user '{}' --json

brex.brex_team_get_me

This endpoint returns the user associated with the OAuth2 access token.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_get_me '{}' --json
Shortcut
kosmo integrations:brex brex_team_get_me '{}' --json

brex.brex_team_get_user_by_id

This endpoint gets a user by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_get_user_by_id '{}' --json
Shortcut
kosmo integrations:brex brex_team_get_user_by_id '{}' --json

brex.brex_team_update_user

This endpoint updates a user. Any parameters not provided will be left unchanged.

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_update_user '{}' --json
Shortcut
kosmo integrations:brex brex_team_update_user '{}' --json

brex.brex_team_get_user_limit

This endpoint gets the monthly limit for the user including the monthly available limit.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_get_user_limit '{}' --json
Shortcut
kosmo integrations:brex brex_team_get_user_limit '{}' --json

brex.brex_team_set_user_limit

This endpoint sets the monthly limit for a user. The limit amount must be non-negative. To unset the monthly limit of the user, just set `monthly_limit` to null.

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_team_set_user_limit '{}' --json
Shortcut
kosmo integrations:brex brex_team_set_user_limit '{}' --json

brex.brex_transactions_list_card_accounts

This endpoint lists all accounts of card type.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_transactions_list_card_accounts '{}' --json
Shortcut
kosmo integrations:brex brex_transactions_list_card_accounts '{}' --json

brex.brex_transactions_list_primary_card_statements

This endpoint lists all finalized statements for the primary card account.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_transactions_list_primary_card_statements '{}' --json
Shortcut
kosmo integrations:brex brex_transactions_list_primary_card_statements '{}' --json

brex.brex_transactions_list_accounts

This endpoint lists all the existing cash accounts with their status.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_transactions_list_accounts '{}' --json
Shortcut
kosmo integrations:brex brex_transactions_list_accounts '{}' --json

brex.brex_transactions_get_primary_account

This endpoint returns the primary cash account with its status. There will always be only one primary account.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_transactions_get_primary_account '{}' --json
Shortcut
kosmo integrations:brex brex_transactions_get_primary_account '{}' --json

brex.brex_transactions_get_account

This endpoint returns the cash account associated with the provided ID with its status.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_transactions_get_account '{}' --json
Shortcut
kosmo integrations:brex brex_transactions_get_account '{}' --json

brex.brex_transactions_list_cash_statements

This endpoint lists all finalized statements for the cash account by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_transactions_list_cash_statements '{}' --json
Shortcut
kosmo integrations:brex brex_transactions_list_cash_statements '{}' --json

brex.brex_transactions_list_primary_card_transactions

This endpoint lists all settled transactions for all card accounts. Regular users may only fetch their own "PURCHASE","REFUND" and "CHARGEBACK" settled transactions.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_transactions_list_primary_card_transactions '{}' --json
Shortcut
kosmo integrations:brex brex_transactions_list_primary_card_transactions '{}' --json

brex.brex_transactions_list_cash_transactions

This endpoint lists all transactions for the cash account with the selected ID.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_transactions_list_cash_transactions '{}' --json
Shortcut
kosmo integrations:brex brex_transactions_list_cash_transactions '{}' --json

brex.brex_travel_list_trips

Lists trips according to the filters passed in the query string.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_travel_list_trips '{}' --json
Shortcut
kosmo integrations:brex brex_travel_list_trips '{}' --json

brex.brex_travel_get_trip

Retrieves a trip by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_travel_get_trip '{}' --json
Shortcut
kosmo integrations:brex brex_travel_get_trip '{}' --json

brex.brex_travel_list_trip_bookings

Lists the bookings within a trip.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_travel_list_trip_bookings '{}' --json
Shortcut
kosmo integrations:brex brex_travel_list_trip_bookings '{}' --json

brex.brex_travel_get_booking

Retrieves a booking by trip and booking ID.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_travel_get_booking '{}' --json
Shortcut
kosmo integrations:brex brex_travel_get_booking '{}' --json

brex.brex_webhooks_list_webhook_subscriptions

List the webhooks you have registered

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_webhooks_list_webhook_subscriptions '{}' --json
Shortcut
kosmo integrations:brex brex_webhooks_list_webhook_subscriptions '{}' --json

brex.brex_webhooks_create_webhook_subscription

Register an endpoint to start receiving selected webhook events

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_webhooks_create_webhook_subscription '{}' --json
Shortcut
kosmo integrations:brex brex_webhooks_create_webhook_subscription '{}' --json

brex.brex_webhooks_list_webhook_groups

Lists webhook groups.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_webhooks_list_webhook_groups '{}' --json
Shortcut
kosmo integrations:brex brex_webhooks_list_webhook_groups '{}' --json

brex.brex_webhooks_create_webhook_group

Creates a webhook group.

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_webhooks_create_webhook_group '{}' --json
Shortcut
kosmo integrations:brex brex_webhooks_create_webhook_group '{}' --json

brex.brex_webhooks_get_webhook_group

Gets a webhook group.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_webhooks_get_webhook_group '{}' --json
Shortcut
kosmo integrations:brex brex_webhooks_get_webhook_group '{}' --json

brex.brex_webhooks_delete_webhook_group

Deletes a webhook group and all its members.

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_webhooks_delete_webhook_group '{}' --json
Shortcut
kosmo integrations:brex brex_webhooks_delete_webhook_group '{}' --json

brex.brex_webhooks_add_webhook_group_members

Adds members to webhook groups.

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_webhooks_add_webhook_group_members '{}' --json
Shortcut
kosmo integrations:brex brex_webhooks_add_webhook_group_members '{}' --json

brex.brex_webhooks_list_webhook_group_members

Lists the members currently in the specified webhook group.

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_webhooks_list_webhook_group_members '{}' --json
Shortcut
kosmo integrations:brex brex_webhooks_list_webhook_group_members '{}' --json

brex.brex_webhooks_remove_webhook_group_members

Removes members from webhook groups.

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_webhooks_remove_webhook_group_members '{}' --json
Shortcut
kosmo integrations:brex brex_webhooks_remove_webhook_group_members '{}' --json

brex.brex_webhooks_list_webhook_secrets

This endpoint returns a set of webhook signing secrets used to validate the webhook. Usually only one key will be returned in the response. After key rotation, this endpoint wil...

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_webhooks_list_webhook_secrets '{}' --json
Shortcut
kosmo integrations:brex brex_webhooks_list_webhook_secrets '{}' --json

brex.brex_webhooks_get_webhook_subscription

Get details of a webhook

Read read
Parameters
none
Generic call
kosmo integrations:call brex.brex_webhooks_get_webhook_subscription '{}' --json
Shortcut
kosmo integrations:brex brex_webhooks_get_webhook_subscription '{}' --json

brex.brex_webhooks_update_webhook_subscription

Update a webhook. You can update the endpoint url, event types that the endpoint receives, or temporarily deactivate the webhook.

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_webhooks_update_webhook_subscription '{}' --json
Shortcut
kosmo integrations:brex brex_webhooks_update_webhook_subscription '{}' --json

brex.brex_webhooks_delete_webhook_subscription

Unregister a webhook if you want to stop receiving webhook events

Write write
Parameters
none
Generic call
kosmo integrations:call brex.brex_webhooks_delete_webhook_subscription '{}' --json
Shortcut
kosmo integrations:brex brex_webhooks_delete_webhook_subscription '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

brex.brex_accounting_create_integration 0 parameters
Schema command
kosmo integrations:schema brex.brex_accounting_create_integration --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_accounting_disconnect_integration 0 parameters
Schema command
kosmo integrations:schema brex.brex_accounting_disconnect_integration --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_accounting_reactivate_integration 0 parameters
Schema command
kosmo integrations:schema brex.brex_accounting_reactivate_integration --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_accounting_get_accounting_record 0 parameters
Schema command
kosmo integrations:schema brex.brex_accounting_get_accounting_record --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_accounting_query_accounting_records 0 parameters
Schema command
kosmo integrations:schema brex.brex_accounting_query_accounting_records --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_accounting_report_accounting_export_results 0 parameters
Schema command
kosmo integrations:schema brex.brex_accounting_report_accounting_export_results --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_budgets_list_budget_programs 0 parameters
Schema command
kosmo integrations:schema brex.brex_budgets_list_budget_programs --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_budgets_get_budget_program_by_id 0 parameters
Schema command
kosmo integrations:schema brex.brex_budgets_get_budget_program_by_id --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_budgets_list_budgets 0 parameters
Schema command
kosmo integrations:schema brex.brex_budgets_list_budgets --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_budgets_create_budget 0 parameters
Schema command
kosmo integrations:schema brex.brex_budgets_create_budget --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_budgets_get_budget_by_id 0 parameters
Schema command
kosmo integrations:schema brex.brex_budgets_get_budget_by_id --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_budgets_update_budget 0 parameters
Schema command
kosmo integrations:schema brex.brex_budgets_update_budget --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_budgets_archive_budget 0 parameters
Schema command
kosmo integrations:schema brex.brex_budgets_archive_budget --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_budgets_list_spend_budgets 0 parameters
Schema command
kosmo integrations:schema brex.brex_budgets_list_spend_budgets --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_budgets_create_spend_budget 0 parameters
Schema command
kosmo integrations:schema brex.brex_budgets_create_spend_budget --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_budgets_get_spend_budget_by_id 0 parameters
Schema command
kosmo integrations:schema brex.brex_budgets_get_spend_budget_by_id --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_budgets_update_spend_budget 0 parameters
Schema command
kosmo integrations:schema brex.brex_budgets_update_spend_budget --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_budgets_archive_spend_budget 0 parameters
Schema command
kosmo integrations:schema brex.brex_budgets_archive_spend_budget --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_budgets_list_spend_limits 0 parameters
Schema command
kosmo integrations:schema brex.brex_budgets_list_spend_limits --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_budgets_create_spend_limit 0 parameters
Schema command
kosmo integrations:schema brex.brex_budgets_create_spend_limit --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_budgets_get_spend_limit_by_id 0 parameters
Schema command
kosmo integrations:schema brex.brex_budgets_get_spend_limit_by_id --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_budgets_update_spend_limit 0 parameters
Schema command
kosmo integrations:schema brex.brex_budgets_update_spend_limit --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_budgets_archive_spend_limit 0 parameters
Schema command
kosmo integrations:schema brex.brex_budgets_archive_spend_limit --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_expenses_list_expenses 0 parameters
Schema command
kosmo integrations:schema brex.brex_expenses_list_expenses --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_expenses_list_expenses_1 0 parameters
Schema command
kosmo integrations:schema brex.brex_expenses_list_expenses_1 --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_expenses_receipt_match 0 parameters
Schema command
kosmo integrations:schema brex.brex_expenses_receipt_match --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_expenses_get_card_expense 0 parameters
Schema command
kosmo integrations:schema brex.brex_expenses_get_card_expense --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_expenses_update_expense 0 parameters
Schema command
kosmo integrations:schema brex.brex_expenses_update_expense --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_expenses_receipt_upload 0 parameters
Schema command
kosmo integrations:schema brex.brex_expenses_receipt_upload --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_expenses_get_expense 0 parameters
Schema command
kosmo integrations:schema brex.brex_expenses_get_expense --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_fields_list_fields 0 parameters
Schema command
kosmo integrations:schema brex.brex_fields_list_fields --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_fields_create_field 0 parameters
Schema command
kosmo integrations:schema brex.brex_fields_create_field --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_fields_list_field_values 0 parameters
Schema command
kosmo integrations:schema brex.brex_fields_list_field_values --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_fields_update_field_values 0 parameters
Schema command
kosmo integrations:schema brex.brex_fields_update_field_values --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_fields_create_field_values 0 parameters
Schema command
kosmo integrations:schema brex.brex_fields_create_field_values --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_fields_delete_field_values 0 parameters
Schema command
kosmo integrations:schema brex.brex_fields_delete_field_values --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_fields_get_field_value_by_id 0 parameters
Schema command
kosmo integrations:schema brex.brex_fields_get_field_value_by_id --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_fields_get_field_by_id 0 parameters
Schema command
kosmo integrations:schema brex.brex_fields_get_field_by_id --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_fields_update_field 0 parameters
Schema command
kosmo integrations:schema brex.brex_fields_update_field --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_fields_delete_field 0 parameters
Schema command
kosmo integrations:schema brex.brex_fields_delete_field --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_onboarding_list_referrals 0 parameters
Schema command
kosmo integrations:schema brex.brex_onboarding_list_referrals --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_onboarding_create_referral_request 0 parameters
Schema command
kosmo integrations:schema brex.brex_onboarding_create_referral_request --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_onboarding_get_referral 0 parameters
Schema command
kosmo integrations:schema brex.brex_onboarding_get_referral --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_onboarding_create_document 0 parameters
Schema command
kosmo integrations:schema brex.brex_onboarding_create_document --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_onboarding_process_delayed_eindocument 0 parameters
Schema command
kosmo integrations:schema brex.brex_onboarding_process_delayed_eindocument --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_payments_create_incoming_transfer 0 parameters
Schema command
kosmo integrations:schema brex.brex_payments_create_incoming_transfer --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_payments_list_linked_accounts 0 parameters
Schema command
kosmo integrations:schema brex.brex_payments_list_linked_accounts --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_payments_list_transfers 0 parameters
Schema command
kosmo integrations:schema brex.brex_payments_list_transfers --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_payments_create_transfer 0 parameters
Schema command
kosmo integrations:schema brex.brex_payments_create_transfer --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_payments_get_transfers_by_id 0 parameters
Schema command
kosmo integrations:schema brex.brex_payments_get_transfers_by_id --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_payments_list_vendors 0 parameters
Schema command
kosmo integrations:schema brex.brex_payments_list_vendors --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_payments_create_vendor 0 parameters
Schema command
kosmo integrations:schema brex.brex_payments_create_vendor --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_payments_get_vendor_by_id 0 parameters
Schema command
kosmo integrations:schema brex.brex_payments_get_vendor_by_id --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_payments_update_vendor 0 parameters
Schema command
kosmo integrations:schema brex.brex_payments_update_vendor --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_payments_delete_vendor 0 parameters
Schema command
kosmo integrations:schema brex.brex_payments_delete_vendor --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_list_cards_by_user_id 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_list_cards_by_user_id --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_create_card 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_create_card --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_get_card_by_id 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_get_card_by_id --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_update_card 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_update_card --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_lock_card 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_lock_card --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_get_card_number 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_get_card_number --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_email_card_number 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_email_card_number --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_terminate_card 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_terminate_card --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_unlock_card 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_unlock_card --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_get_company 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_get_company --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_list_departments 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_list_departments --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_create_department 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_create_department --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_get_department_by_id 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_get_department_by_id --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_list_locations 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_list_locations --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_create_location 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_create_location --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_get_location_by_id 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_get_location_by_id --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_list_titles 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_list_titles --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_create_title 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_create_title --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_get_title_by_id 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_get_title_by_id --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_list_users 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_list_users --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_create_user 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_create_user --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_get_me 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_get_me --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_get_user_by_id 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_get_user_by_id --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_update_user 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_update_user --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_get_user_limit 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_get_user_limit --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_team_set_user_limit 0 parameters
Schema command
kosmo integrations:schema brex.brex_team_set_user_limit --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_transactions_list_card_accounts 0 parameters
Schema command
kosmo integrations:schema brex.brex_transactions_list_card_accounts --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_transactions_list_primary_card_statements 0 parameters
Schema command
kosmo integrations:schema brex.brex_transactions_list_primary_card_statements --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_transactions_list_accounts 0 parameters
Schema command
kosmo integrations:schema brex.brex_transactions_list_accounts --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_transactions_get_primary_account 0 parameters
Schema command
kosmo integrations:schema brex.brex_transactions_get_primary_account --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_transactions_get_account 0 parameters
Schema command
kosmo integrations:schema brex.brex_transactions_get_account --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_transactions_list_cash_statements 0 parameters
Schema command
kosmo integrations:schema brex.brex_transactions_list_cash_statements --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_transactions_list_primary_card_transactions 0 parameters
Schema command
kosmo integrations:schema brex.brex_transactions_list_primary_card_transactions --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_transactions_list_cash_transactions 0 parameters
Schema command
kosmo integrations:schema brex.brex_transactions_list_cash_transactions --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_travel_list_trips 0 parameters
Schema command
kosmo integrations:schema brex.brex_travel_list_trips --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_travel_get_trip 0 parameters
Schema command
kosmo integrations:schema brex.brex_travel_get_trip --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_travel_list_trip_bookings 0 parameters
Schema command
kosmo integrations:schema brex.brex_travel_list_trip_bookings --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_travel_get_booking 0 parameters
Schema command
kosmo integrations:schema brex.brex_travel_get_booking --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_webhooks_list_webhook_subscriptions 0 parameters
Schema command
kosmo integrations:schema brex.brex_webhooks_list_webhook_subscriptions --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_webhooks_create_webhook_subscription 0 parameters
Schema command
kosmo integrations:schema brex.brex_webhooks_create_webhook_subscription --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_webhooks_list_webhook_groups 0 parameters
Schema command
kosmo integrations:schema brex.brex_webhooks_list_webhook_groups --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_webhooks_create_webhook_group 0 parameters
Schema command
kosmo integrations:schema brex.brex_webhooks_create_webhook_group --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_webhooks_get_webhook_group 0 parameters
Schema command
kosmo integrations:schema brex.brex_webhooks_get_webhook_group --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_webhooks_delete_webhook_group 0 parameters
Schema command
kosmo integrations:schema brex.brex_webhooks_delete_webhook_group --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_webhooks_add_webhook_group_members 0 parameters
Schema command
kosmo integrations:schema brex.brex_webhooks_add_webhook_group_members --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_webhooks_list_webhook_group_members 0 parameters
Schema command
kosmo integrations:schema brex.brex_webhooks_list_webhook_group_members --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_webhooks_remove_webhook_group_members 0 parameters
Schema command
kosmo integrations:schema brex.brex_webhooks_remove_webhook_group_members --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_webhooks_list_webhook_secrets 0 parameters
Schema command
kosmo integrations:schema brex.brex_webhooks_list_webhook_secrets --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_webhooks_get_webhook_subscription 0 parameters
Schema command
kosmo integrations:schema brex.brex_webhooks_get_webhook_subscription --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_webhooks_update_webhook_subscription 0 parameters
Schema command
kosmo integrations:schema brex.brex_webhooks_update_webhook_subscription --json
ParameterTypeRequiredDescription
No parameters.
brex.brex_webhooks_delete_webhook_subscription 0 parameters
Schema command
kosmo integrations:schema brex.brex_webhooks_delete_webhook_subscription --json
ParameterTypeRequiredDescription
No parameters.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.