Skip to main content

Overview

Seed files define the initial state of a Linear workspace. They’re JSON files that specify teams, issues, users, workflows, and more.

Quick Reference: linear_expanded

The most commonly used template for benchmarks. Here’s what’s inside:
Use agent@example.com as your impersonateEmail - this is the agent’s identity.

Seed File Location

Seeds are stored in examples/linear/seeds/:

Schema

Organization

Teams

Users

Team Memberships

Workflow States

Issues

Labels

Issue-Label Associations

Comments

Projects


Complete Example

Creating a Custom Template

  1. Create your seed file in examples/linear/seeds/my_seed.json
  2. Register the template (during seed script execution)
  3. Use your template:

Tips

UUIDs: Use proper UUIDs for IDs. You can generate them with Python’s uuid.uuid4().
Issue Numbers: Keep identifier and number consistent with team key. For team “ENG”, issue number 1 should have identifier “ENG-1”.
Foreign Keys: Ensure all referenced IDs exist. An issue’s teamId, stateId, and assigneeId must reference valid entities.

Next Steps

GraphQL API

Supported queries and mutations

Self-Hosting

Deploy your own instance