Attach a connected tool
POST
Search a connected tool (Notion, a docs server, ...) from this project: its search and read tools are found and pinned. A tool without such a pair, or one that needs signing in again, is a 409. Requires coding:knowledge:sync.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
coding_repository_id*stringFormat
uuidcustom_tool_id*stringFormat
uuidcustomer_id?|nullRequest fulfilled, document follows
application/json- response
bytes*integerconnection?string|nullcreated_by?|nullcustom_tool_id?|nullerrors*array<>failed*integerfiles*integerid*stringFormat
uuidkind*stringname*stringpending?integerDefault
0status*stringsynced_at?|nullcurl -X POST 'https://api.syndai.ai/api/v1/external/coding/repos/497f6eca-6276-4993-bfeb-53cbbbba6f08/knowledge/tools/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "bytes": 0, "connection": "string", "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4", "custom_tool_id": "ee324563-c6f2-47e0-b512-683b3bbc5b59", "errors": [ { "error": "string", "path": "string" } ], "failed": 0, "files": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "string", "name": "string", "pending": 0, "status": "string", "synced_at": "2019-08-24T14:15:22Z"}