Skip to main content

1. Create an API key

In the pepline dashboard: Settings → API → New key. Name it after the integration (“sync script”), copy the pep_sk_… secret — it is shown only once.

2. Check the key

The response names your organization and lists your agent slugs — you need those for the agents field.

3. Push your first source

201 Created — the source is processing ("status": "updating").

4. Watch it become knowledge

When status is ready, the digest field tells you what the agent understood. If it says failed, failure_reason says why in plain words.

5. Sync forever

Re-send the same external_id whenever your content changes — the source updates and re-processes. Identical payloads are a no-op. That one call is your whole sync loop; see the keeping-knowledge-fresh guide.