Skip to main content
POST
/
v1
/
vault
/
items
/
sync
Sync vault items
curl --request POST \
  --url https://agent.tinyfish.ai/v1/vault/items/sync \
  --header 'X-API-Key: <api-key>'
{
  "items": [
    {
      "itemId": "cred:conn-123:Personal:item-abc123",
      "connectionId": "conn_123",
      "label": "Amazon Login",
      "vaultName": "Personal",
      "domains": [
        "amazon.com"
      ],
      "fieldMetadata": [
        {
          "fieldId": "password",
          "label": "Password",
          "type": "CONCEALED"
        }
      ],
      "hasTotp": true,
      "enabled": true
    }
  ],
  "sync_summary": {
    "added": 3,
    "updated": 1,
    "removed": 0,
    "skippedDisabled": 2
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key from the API Keys page.

Response

Vault items synced successfully.

items
object[]
required
sync_summary
object
required