1. Create an API key
In the pepline dashboard: Settings → API → New key. Name it after the integration (“sync script”), copy thepep_sk_… secret — it is shown only once.
2. Check the key
agents field.
3. Push your first source
201 Created — the source is processing ("status": "updating").
4. Watch it become knowledge
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 sameexternal_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.
