Skip to content

IntegrationsBusiness Intelligence · Beta

Pigment API integration

Put Pigment in your product or your AI agent. Truto handles the sign-in and the token refresh, and keeps the connection working after launch.

Built for specific customer use cases. Issues are resolved quickly.

Elaichi

From the team behind Truto

Control plane for MCP servers

Put your team’s own apps to work in their AI. Connect an app once, and everyone’s AI can use it.

Works in

  • Each person’s AI gets exactly their access. Nothing more.
  • Share an app with your team, not a password.
  • Every call is checked and logged.

No credit card required · 1,150+ apps

01Proxy API

Call the Pigment API directly. Every endpoint, through Truto.

Truto’s Proxy API is a 1-to-1 mapping of the Pigment API. You call us, we call Pigment, and pass the response back in the same cycle. Truto handles authentication and token refresh.

On every plan, including Free.

How the Proxy API works

Proxy APIPigment

GEThttps://api.truto.one/proxy/applications?integrated_account_id=…

  • GET/proxy/blocks
  • GET/proxy/files
  • GET/proxy/views

Pigment’s own response, passed back

02MCP server

Pigment tools for any AI agent. Any MCP client, or the agent you build.

Whatever your agent runs on, it gets Pigment tools for each customer’s account: through an MCP server, or straight from the tools API.

On every plan, including Free.

What an agent can doin Pigment
  • Data flowsList
  • Data flow triggerCreate
  • Push csvCreate
  • Push lookerCreate
  • Import configurationsList
  • Import triggerCreate
  • ApplicationsList
  • Applications snapshotsList
  • BlocksList
  • Export viewGet one
  • Export listCreate
  • Export metricCreate
  • Export tableCreate
  • FilesList, Create
  • ContentGet one
  • ViewsList
  • Data flow statusGet one
  • Import statusGet one
Show tool names19 tools, for developers
  • list_all_pigment_data_flowsList the Data Flows configured in a Pigment application. Returns: dataFlowId, name, description, application_id, steps. Required: application_id.
  • create_a_pigment_data_flow_triggerTrigger an execution of a Data Flow in Pigment. Returns: dataFlowExecutionId. Required: dataFlowId. 400 if the Data Flow has no runnable steps; 429 if too many concurrent executions are already running.
  • create_a_pigment_push_csvPush a CSV file to a Pigment import configuration. The import starts asynchronously and Returns: importId. Required: configuration_id, file.
  • create_a_pigment_push_lookerTrigger a Looker Look import in Pigment. Pigment pulls the Look data and runs the import asynchronously. Returns: importId. Required: configuration_id.
  • list_all_pigment_import_configurationsList Pigment import configurations for the given application and block. Returns: id, name. The returned id is the configurationId needed to trigger imports or push data.
  • create_a_pigment_import_triggerTrigger an automated import operation in Pigment for an integration-based import, list data copy or metric data copy; the pipeline type is detected from the configuration. Returns: importId. Required: configuration_id.
  • list_all_pigment_applicationsList metadata for every Pigment Application in the Workspace associated with the API key. Returns each application's id (UUID) and name — the values used to scope the other Pigment metadata calls. The source documents no additional fields or filters for this endpoint.
  • list_all_pigment_applications_snapshotsList metadata for all application snapshots in Pigment, including scheduled, in progress and failed ones. Returns: id, name, status, date, applications.
  • list_all_pigment_blocksList Pigment block metadata (metrics, lists, and tables) for an application. Returns: id, name, type.
  • get_single_pigment_export_view_by_idExport the data of a specific Pigment view as a CSV file. Returns the view's data as a CSV file (text/csv). Optional date_format (Legacy or Iso8601) and field_delimiter (Semicolon or Comma) control output formatting. Fails with 413 if the view is too big (use block export APIs instead) or 422 if the view type is not…. Required: id.
  • create_a_pigment_export_listExport the data of a specific Pigment list as a CSV file. Returns the exported list data as a CSV file (text/csv). An optional ListRequest JSON body refines the export; sending {} accepts the list's defaults. Required: list_id.
  • create_a_pigment_export_metricExport the data of a specific Pigment metric as CSV. Returns the exported data as a CSV file (text/csv). The optional MetricRequest JSON body refines the export; omit it or send an empty object to accept upstream defaults. Required: metric_id.
  • create_a_pigment_export_tableExport the data of a specific Pigment table as a CSV file. Returns the table's exported data as a CSV file (text/csv), not a JSON object, so its contents are content-type-specific. Optional TableRequest body refines the export; an empty {} body accepts defaults. Required: table_id.
  • list_all_pigment_filesList the file metadata of a Pigment application with cursor-based pagination. Returns: organizationId, application_id, id, displayFilename, contentType, mimeType, sizeBytes, uploadedBy, uploadedAt. Required: application_id.
  • create_a_pigment_fileUpload a file to a Pigment application as multipart form-data. Returns the uploaded file's metadata: id, displayFilename, contentType, sizeBytes, uploadedAt. Required: application_id, file.
  • get_single_pigment_content_by_idDownload a file's content from a Pigment application. Returns the raw file bytes (binary download, not a JSON object). Required: id, application_id.
  • list_all_pigment_viewsList view metadata for a block in Pigment. Returns: id, name, type. Use the returned view ids with the view export endpoint.
  • get_single_pigment_data_flow_status_by_idGet the status of a Data Flow execution in Pigment. Returns: dataFlowExecutionId, dataFlowId, status, createdAt, completedAt, steps. Status is InProgress, Completed, PartialFailure, or Failed. Required: id. Rate limited — on 429, retry after the Retry-After delay.
  • get_single_pigment_import_status_by_idGet the status of a csv import, integration import, list data copy or metric data copy operation in Pigment by id. Returns: importId, createdAt, completedAt, importStatus, errorsDetails, detailedReport. Required: id. Set included_detailed_report=true for summary statistics; defaults to false.

AMCP serverno code

For any MCP client

One URL per connected Pigment account. Paste it into Claude, ChatGPT, Cursor, Windsurf, VS Code, Cline, Zed or a custom agent.

Server URLhttps://api.truto.one/mcp/<token>

BTools APIfor developers

For the agent you build

One call returns every Pigment tool for an account, with its description and JSON schema, ready for any LLM framework.

GEThttps://api.truto.one/integrated-account/<id>/tools

Tools come as JSON schema, so they plug into any agent framework.

  • Always up to date

    Tools are generated from curated documentation, not hand-coded. As the integration changes, the tools stay current.

  • You set the limits

    Scope each MCP server to read-only, write-only, specific methods or tagged tool groups. Expose only what the agent needs.

  • One customer each

    Each MCP server is scoped to one connected account with its own credentials. Nothing leaks across tenants.

  • Tools you can edit

    Tool descriptions and schemas are editable in your Truto account. A change updates at once, with no deploy.

  • Sign-in handled

    Tool calls run through Truto’s proxy layer, with OAuth refresh, rate-limit handling and normalized errors.

  • Access can expire

    Create time-limited servers for contractors or automated workflows. Optionally require a Truto API token as well.

How MCP servers work

03Unified API

Call Pigment the same way as your other apps. One mapping to go.

A unified API gives every app in a category the same call and the same data shape. Pigment is not in one yet. Build your own model, or ask us.

Pigmenton Truto
  1. Sign-in and tokensTruto handles themReady
  2. Proxy APIWorks today, on FreeReady
  3. Unified APIOne mapping to goTo do

Then: one call for every app

  • Path 1 Self-serve

    Build your own model

    • Mapping editor, with version history
    • Live for every connected account
    • No deploy

    Start free

  • Path 2 We do it

    Ask Truto

    • Tell us the Pigment data you need
    • We add the mapping

    Talk to us

  • Price Add-on

    $499 a month, in Pro

    • 30-day trial on Free
    • Every unified API and your own unified models: Pro add-on

    See pricing

04Sync and webhooks

Sync Pigment data on a schedule. Sent to your webhook.

A sync job reads Pigment records on a schedule and sends each page to your webhook or your datastore. Signed webhooks tell you when an account connects or needs to sign in again.

On every plan, including Free.

05Custom actions

Add any Pigment endpoint. With the Truto CLI.

Need a Pigment endpoint or method that is not here yet? Add it with the Truto CLI and your coding agent, or call any Pigment path through the Custom API.

On every plan, including Free. Truto CLI

For your own AI tools

Use Pigment in ChatGPT, Claude or Cursor with Elaichi.

Truto puts Pigment in the product you build. To use Pigment yourself, in the AI your team already has, we recommend Elaichi.

For your product

Ship Pigment tools in your product

Give the AI in your product access to each customer’s own Pigment account, with one MCP server per connected account.

Start free with Pigment

Rather talk it through? Book a demo

Elaichi

For your own team

Use Pigment in your own AI

Connect your company’s Pigment once, then ask in the AI you already use, with exactly your own access.

Works in

Pigment on Elaichi

From the team behind Truto · 14-day free trial

Use cases

Why integrate with Pigment.

  1. Sync HRIS Actuals into Pigment for Headcount Planning

    HRIS and payroll platforms can offer customers a native way to push monthly employee census, salary, and benefits data into Pigment, so FP&A teams can run headcount and compensation forecasts without manual CSV handoffs.

  2. Enforce Live Budgets in Spend Management Tools

    Spend management and procurement platforms can pull approved departmental budgets directly from Pigment metrics, letting their product flag or block purchase requests that exceed real-time, FP&A-approved limits.

  3. Provision Sales Quotas from Pigment Models

    Commission and sales performance tools can extract finalized territory maps and quota lists from Pigment, automatically provisioning new comp plans the moment the CRO finalizes capacity modeling.

  4. Close the Loop on Marketing Spend and Pipeline

    Marketing operations and attribution platforms can push campaign spend and pipeline actuals into Pigment, enabling Finance to dynamically model marketing ROI and adjust budgets without waiting for quarter-end reconciliation.

  5. Orchestrate Model Recalculations After Data Loads

    Workflow and iPaaS-style products can push operational data into Pigment and immediately trigger data flows to recalculate downstream financial models, giving customers always-fresh forecasts.

What you can build

Ship these with Truto and Pigment.

  • Dynamic Pigment Schema Mapper

    Use list_all_pigment_applications, list_all_pigment_blocks, and list_all_pigment_views to render in-product dropdowns so end users map their fields directly to their own Pigment application structure.

  • Async Bulk CSV Push Pipeline

    Ship a background job that calls create_a_pigment_push_csv (or create_a_pigment_file plus create_a_pigment_import_trigger) against a selected import configuration, with polling on get_single_pigment_import_status_by_id to surface row-level errors.

  • Data Flow Trigger & Status Monitor

    Let customers kick off Pigment data flows via create_a_pigment_data_flow_trigger after each sync and display live recalculation status using get_single_pigment_data_flow_status_by_id.

  • Scheduled Metric & List Exports

    Build recurring exports using create_a_pigment_export_metric, create_a_pigment_export_table, and create_a_pigment_export_list to pull approved budgets, quotas, or forecasts into your product on a schedule.

  • Looker-Backed Push Jobs

    For customers with Looker as a source, expose create_a_pigment_push_looker so they can ingest Looker-derived datasets into Pigment import configurations without a separate ETL layer.

  • Import Configuration Browser

    Use list_all_pigment_import_configurations and list_all_pigment_data_flows to let admins pick exactly which import target and downstream flow should run for each sync they configure.

Security

Your customers’ Pigment data stays theirs. Truto passes it through.

  • Records pass through

    Customer records are not kept. Truto fetches them when your product asks and passes them on.

  • Truto managed OAuth apps or yours

    Where an app signs in with OAuth, use Truto’s OAuth apps or your own, on every plan. Each customer’s login is kept encrypted (AES-256) while connected.

  • SOC 2 · TYPE IIAUDITEDISO/IEC 27001CERTIFIEDGDPRHIPAACASA · TIER 2TAC SECURITY

    Audited and certified

    SOC 2 Type II, ISO 27001, GDPR and HIPAA. CASA Tier 2, verified by TAC Security. Trust Centre

How it works

From zero to integrated. Start free, no card.

  1. Link your customer’s Pigment account

    Use Truto’s frontend SDK to connect your customer’s Pigment account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.

  2. We handle authentication

    Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.

  3. Call our API, we call Pigment

    Truto’s Proxy API is a 1-to-1 mapping of the Pigment API. You call us, we call Pigment, and pass the response back in the same cycle.

  4. Unified response format

    Every response follows a single format across all integrations. We translate Pigment’s pagination into unified cursor-based pagination. Data is always in the result attribute.

FAQs

Common questions about Pigment on Truto.

How do end users authenticate their Pigment account?

Truto handles the Pigment auth handshake and token storage for you. Your product only needs to launch Truto's connect flow — credentials, refresh, and secure storage are managed on our side.

Can we push large datasets without hitting synchronous timeouts?

Yes. Pigment's import endpoints are asynchronous. You use create_a_pigment_push_csv or create_a_pigment_file + create_a_pigment_import_trigger to submit the data, then poll get_single_pigment_import_status_by_id for completion and row-level errors.

Can we trigger model recalculations after pushing data?

Yes. After an import completes, call create_a_pigment_data_flow_trigger to run the relevant data flow and get_single_pigment_data_flow_status_by_id to monitor the compute job until it finishes.

How do we read planning data back out of Pigment?

Use create_a_pigment_export_metric, create_a_pigment_export_table, or create_a_pigment_export_list with a JSON body that specifies the dimensions you need. Pigment returns structured CSV output you can parse downstream.

How do we handle customers with different Pigment model structures?

Call list_all_pigment_applications, list_all_pigment_blocks, list_all_pigment_views, and list_all_pigment_import_configurations at setup time to discover each tenant's schema, then let the end user map their fields against it in your UI.

Is there a unified BI API we can use instead of Pigment-specific calls?

Not currently. Pigment is available as a native integration with dedicated tools covering imports, exports, data flows, and schema discovery. If you need a unified BI abstraction, reach out and we can prioritize it based on your use case.

Pigment

Get Pigment integrated into your app

Sign up free, connect a test Pigment account and make your first call today. No card and no sales call.