Docs
  • Solver
  • Models
    • Field Service Routing
    • Employee Shift Scheduling
    • Pick-up and Delivery Routing
    • Task Scheduling
  • Platform
Try models
  • Timefold Platform
  • How-tos
  • Manage tenant
  • API Keys

Timefold Platform

    • Introduction
    • Scheduling API concepts
    • Getting started with the Timefold Platform
    • Platform concepts
    • Available models
      • Model catalog and documentation
      • Model maturity and versioning
      • Trialing Timefold models
    • How-tos
      • Model and dataset management
        • Dataset lifecycle
        • Dataset details
        • Datasets overview
        • Dataset revisions with /from-patch
        • Configuration profiles and parameters
        • Maps service
      • Analyze
        • Insights
        • Comparisons
        • Experiments
        • Timefold Copilot
      • Manage tenant
        • Details
        • API Keys
        • Secrets
        • Members
        • Models
        • Webhooks
        • Solve queue
        • Audit log
      • Manage user
        • Personal access tokens
      • Command Palette
    • Job-oriented guides
      • Balancing different optimization goals
      • Validating an optimized plan with Explainable AI
      • Uncovering inefficiencies in operational planning
      • Responding to disruptions with real-time planning
      • Designing better routing plans with (just enough) traffic awareness
    • API integration
      • Model API usage
      • Receiving model API results
        • Webhooks
        • Server sent events (SSE)
        • Polling
      • Handling changes to your planning data
      • Integration scenarios
        • Multiple environments and clusters
        • Data residency requirements
        • Air-gapped environments
      • Platform API usage
    • Changelog
    • Feature requests
    • Pricing plans and capabilities
    • Self-Hosted
      • Self-Hosted vs. Timefold Cloud Platform
      • Installation instructions
      • Upgrade instructions
      • Troubleshooting
    • Support
      • Contacting support
      • Platform status
      • Troubleshooting
    • Trust
      • Risk profile
      • Product security
      • Data security
      • Legal and privacy
      • AI legislation compliance
      • Trust center

API Keys

API keys let you authenticate with the Timefold Model APIs without a user context. This page describes how to generate and revoke API keys in the Platform UI.

See Model API usage for recommended permissions for common integration patterns.

Generating API keys

When you are logged in, click on the dropdown at the top right next to your username. Click on Manage tenant. In the menu on the left hand side click API Keys to access the API Keys available for your tenant.

  1. Click Create API Key to generate a new API Key.

  2. Select All Models or Selected Models and specify which models the key has access to.
    We recommend creating one key for each model you use.

  3. Select All Permissions or Selected Permissions and specify which permissions the key has.

    The Read permission can be used with the GET method to retrieve existing information. It cannot be used, for instance, to request recommendations as this involves creating the recommendations.
  4. Specify an expiry duration.
    If you don’t pick a date, the key will expire after 30 days.

  5. Give the API a descriptive name.

  6. Click Add API Key.

All API Keys generated for a tenant are visible for all administrators of the tenant. An API Key doesn’t have any user context and is purely connected to the tenant (and optionally to the models of the tenant).

Revoking API keys

From the API Keys overview table you can revoke existing keys. This can be done if an API key is no longer needed, or if an API key has leaked. Once an API key is revoked, all subsequent API calls where the key is used will fail.

API key permissions

The table below lists which permissions can call which model endpoints and will help decide which API keys require which permissions.

Method Endpoint Create Read Update Delete

POST

/{version}/{resource}

Yes

No

No

No

DELETE

/{version}/{resource}/{id}

No

No

Yes

No

GET

/{version}/{resource}/{id}

Yes

Yes

Yes

Yes

POST

/{version}/{resource}/{id}

No

No

Yes

No

PUT

/{version}/{resource}/{id}

No

No

Yes

Yes

POST

/{version}/{resource}/{id}/from-input

Yes

No

No

No

POST

/{version}/{resource}/{id}/from-patch

Yes

No

No

No

PATCH

/{version}/{resource}/{id}/metadata

No

No

Yes

No

POST

/{version}/{resource}/{id}/new-run

Yes

No

No

No

DELETE

/{version}/{resource}/{id}/purge

No

No

No

Yes

PATCH

/{version}/{resource}/{id}/run

No

No

Yes

No

GET

/{version}/{resource}/{id}/{subresource}

Yes

Yes

Yes

Yes

GET

/{version}/{resource}/{id}/*

Yes

Yes

Yes

Yes

POST

/{version}/{resource}/recommendations/

Yes

No

No

No

POST

/{version}/{resource}/{id}/recommendations/

Yes

No

No

No

POST

/{version}/{resource}/score-analysis

Yes

No

No

No

GET

/{version}/{resource}/{id}/score-analysis

Yes

Yes

Yes

Yes

GET

/{version}/{resource}/validation-issue-types

No

Yes

No

No

GET

/{version}/{resource}/validation-issue-types/{code}

No

Yes

No

No

When deciding on which permissions to grant an API key, we recommend following the Principle of Least Privilege and only providing the permissions required for the task the API key has been created for.
  • © 2026 Timefold BV
  • Timefold.ai
  • Documentation
  • Changelog
  • Send feedback
  • Privacy
  • Legal
    • Light mode
    • Dark mode
    • System default