Devin AI
This page contains the setup guide and reference information for the Devin AI source connector.
Overview
Syncs data from the Devin AI platform API (v3), providing visibility into your organization's AI engineering agent activity, conversations, and configuration.
- Sessions — All Devin sessions in your organization
- Session status, title, tags, and timestamps
- ACU consumption (
acus_consumed) and on-demand spend in USD (on_demand_usage, Teams plans only) - Associated pull requests with PR state
- User and service user attribution
- Where the session was started (
origin, such aswebapp,slack,api, orautomation) and the creating automation (automation_id) - Agent mode (
devin_mode), use-case category (category,subcategory), and security profile (security_profile) - Parent/child session relationships
- Sessions Insights — Sessions augmented with aggregate insights
- All fields from the Sessions stream
- Per-session message counts (
num_user_messages,num_devin_messages) - Session size classification (
session_size) - AI-generated analysis: category, programming languages, tools and frameworks, issues, note usage, suggested prompts, timeline
- Analysis run state (
analysis_status):started,completed,failed, or null if analysis never ran.analysisis null until an analysis run completes.
- Session Messages — Full conversation history for each session
- Every message exchanged between users and Devin
- Message source attribution (user vs. devin)
- Chronological ordering via timestamps
- Playbooks — Reusable playbook definitions
- Playbook title, body content, and macro triggers
- Access type
- Authorship and modification tracking
- Secrets — Secret metadata (values are never exposed)
- Secret keys, types, and sensitivity flags
- Access type and organizational scope
- Creation and update audit trail
- Knowledge Notes — Organization knowledge base entries
- Note content, folder organization, and trigger rules
- Enabled/disabled state for automated knowledge injection
- Pinned repo associations and macro triggers
Prerequisites
- A Devin account with access to an organization.
- A Devin API key. All Devin API credentials use the
cog_prefix. A service user API key is recommended. A personal access token also works and has the same permissions as the user who created it. Enterprise accounts must enable personal access tokens in their enterprise policy first. - Your Devin organization ID (uses the
org_prefix). - The service user or personal access token must have the organization-level Devin permissions required to read the streams you want to sync:
ViewOrgSessions: required forsessions,sessions_insights, andsession_messages.UseDevinSessions: required forplaybooksandknowledge_notes.ManageOrgSecrets: required forsecrets. Only metadata is returned; secret values are never exposed.
For a full permission reference, see the Devin Permissions & RBAC documentation.
Setup guide
Step 1: Create a service user and API key
- Sign in to app.devin.ai as an organization admin.
- Open Settings → Devin API and select the Service users tab.
- Create a service user and assign a role that grants the permissions listed under Prerequisites.
- Generate an API key for the service user. The key is shown only once at creation — copy and store it securely. All keys start with
cog_.
Step 2: Find your organization ID
Your organization ID is shown at the top of the Settings → Devin API page in app.devin.ai. It starts with org_.
Step 3: Configure the connector in Airbyte
- In Airbyte, create a new Devin AI source.
- Enter your API Token (the
cog_...key from Step 1). - Enter your Organization ID (the
org_...value from Step 2). - Optionally, set a Start Date (UTC, ISO 8601 format, for example
2026-01-01T00:00:00Z) to limit thesessions,sessions_insights, andsession_messagesstreams to sessions created on or after that instant. Leave empty to sync full history. - Click Test Connection to verify your credentials.
Supported streams
| Stream | Sync Mode | Description |
|---|---|---|
| Sessions | Full Refresh | All Devin sessions in your organization |
| Sessions Insights | Full Refresh | Sessions enriched with message counts, size classification, and AI-generated analysis |
| Session Messages | Full Refresh | Conversation messages for each session |
| Playbooks | Full Refresh | Playbooks owned by the organization. Enterprise-level playbooks aren't synced. |
| Secrets | Full Refresh | Secret metadata (no secret values are synced) |
| Knowledge Notes | Full Refresh | Knowledge notes for the organization |
The session_messages stream is a substream of sessions: for each session returned by sessions, Airbyte issues one additional request to fetch that session's messages. Conversation history may contain PII, so only enable this stream when you need message-level data. For aggregate message counts and Devin-generated classification without raw message bodies, use sessions_insights instead.
The connector requests a single page of messages for each session, and the Devin API returns up to 100 messages per page by default. For sessions with more than 100 messages, only the first 100 messages are synced.
Limitations
- All streams support full refresh only. Each sync re-reads every record. To limit the sessions that
sessions,sessions_insights, andsession_messagesread, set Start Date. - The
on_demand_usagefield is populated only for organizations on a Devin Teams plan. It's0when a session was fully covered by your plan's quota, and absent for other plans. - The connector retries requests that fail with HTTP
429or5xxresponses, up to five times with exponential backoff.
Configuration reference
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
api_token | string | Yes | Devin API key for authentication. All Devin API credentials use the cog_ prefix. | |
org_id | string | Yes | Your Devin organization ID. Uses the org_ prefix. | |
start_date | string (ISO 8601, UTC) | No | (no filter) | Optional lower bound on created_at for the sessions, sessions_insights, and session_messages streams. Sessions created before this instant are excluded. Format: YYYY-MM-DDTHH:MM:SSZ. Example: 2026-01-01T00:00:00Z. |
IP allow list
If you use Airbyte Cloud and your organization restricts access to specific IPs, add the Airbyte Cloud IP addresses to your allow list.
Reference
Config fields reference
Changelog
Expand to review
| Version | Date | Pull Request | Subject |
|---|---|---|---|
| 0.3.1 | 2026-10-27 | 89826 | Update dependencies |
| 0.3.0 | 2026-10-21 | 89592 | Add on_demand_usage, devin_mode, origin, category, subcategory, automation_id, and security_profile to sessions and sessions_insights; add analysis_status to sessions_insights |
| 0.2.19 | 2026-10-20 | 89148 | Update dependencies |
| 0.2.18 | 2026-10-13 | 88586 | Update dependencies |
| 0.2.17 | 2026-10-06 | 87810 | Update dependencies |
| 0.2.16 | 2026-09-29 | 87099 | Update dependencies |
| 0.2.15 | 2026-09-22 | 86554 | Update dependencies |
| 0.2.14 | 2026-09-15 | 86013 | Update dependencies |
| 0.2.13 | 2026-09-08 | 85448 | Update dependencies |
| 0.2.12 | 2026-08-18 | 84527 | Update dependencies |
| 0.2.11 | 2026-08-11 | 83901 | Update dependencies |
| 0.2.10 | 2026-08-04 | 83423 | Update dependencies |
| 0.2.9 | 2026-07-28 | 82877 | Update dependencies |
| 0.2.8 | 2026-07-21 | 82361 | Update dependencies |
| 0.2.7 | 2026-07-14 | 81770 | Update dependencies |
| 0.2.6 | 2026-07-07 | 81037 | Update dependencies |
| 0.2.5 | 2026-06-23 | 80426 | Update dependencies |
| 0.2.4 | 2026-06-16 | 79827 | Update dependencies |
| 0.2.3 | 2026-06-09 | 79281 | Update dependencies |
| 0.2.2 | 2026-06-02 | 78663 | Update dependencies |
| 0.2.1 | 2026-04-28 | 77201 | Update dependencies |
| 0.2.0 | 2026-04-22 | 76475 | Add sessions_insights stream for analytics (message counts, session size, AI-generated classification); add optional start_date config to filter sessions, sessions_insights, and session_messages by creation time |
| 0.1.1 | 2026-04-21 | 76504 | Update dependencies |
| 0.1.0 | 2026-04-15 | 74417 | Initial release with sessions, session messages, playbooks, secrets, and knowledge notes streams |