Register
curl --request POST \
--url https://sandbox.api.cortexanote.com/v2/scribe/open-api/connectors \
--header 'Content-Type: application/json' \
--header 'Cortexa-Api-Key: <api-key>' \
--data '
{
"name": "<string>",
"description": "<string>",
"endpoint": "<string>",
"tools": [
{
"name": "<string>",
"description": "<string>",
"input_schema": {},
"write": true,
"output_schema": {},
"method": "POST",
"path": "",
"annotations": {}
}
],
"profile": "tools",
"auth": "bearer",
"oauth": {
"authorization_url": "<string>",
"token_url": "<string>",
"client_id": "<string>",
"redirect_uri": "<string>",
"scopes": [
"<string>"
]
}
}
'import requests
url = "https://sandbox.api.cortexanote.com/v2/scribe/open-api/connectors"
payload = {
"name": "<string>",
"description": "<string>",
"endpoint": "<string>",
"tools": [
{
"name": "<string>",
"description": "<string>",
"input_schema": {},
"write": True,
"output_schema": {},
"method": "POST",
"path": "",
"annotations": {}
}
],
"profile": "tools",
"auth": "bearer",
"oauth": {
"authorization_url": "<string>",
"token_url": "<string>",
"client_id": "<string>",
"redirect_uri": "<string>",
"scopes": ["<string>"]
}
}
headers = {
"Cortexa-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "<string>",
"manifest": {
"name": "<string>",
"description": "<string>",
"transport": "rest",
"endpoint": "<string>",
"tools": [
{
"name": "<string>",
"description": "<string>",
"input_schema": {},
"write": true,
"output_schema": {},
"method": "POST",
"path": "",
"annotations": {}
}
],
"profile": "tools",
"auth": "bearer",
"oauth": {
"authorization_url": "<string>",
"token_url": "<string>",
"client_id": "<string>",
"redirect_uri": "<string>",
"scopes": [
"<string>"
]
}
},
"manifest_hash": "<string>",
"approved": true,
"enabled": true
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}External connectors
Register
POST
/
v2
/
scribe
/
open-api
/
connectors
Register
curl --request POST \
--url https://sandbox.api.cortexanote.com/v2/scribe/open-api/connectors \
--header 'Content-Type: application/json' \
--header 'Cortexa-Api-Key: <api-key>' \
--data '
{
"name": "<string>",
"description": "<string>",
"endpoint": "<string>",
"tools": [
{
"name": "<string>",
"description": "<string>",
"input_schema": {},
"write": true,
"output_schema": {},
"method": "POST",
"path": "",
"annotations": {}
}
],
"profile": "tools",
"auth": "bearer",
"oauth": {
"authorization_url": "<string>",
"token_url": "<string>",
"client_id": "<string>",
"redirect_uri": "<string>",
"scopes": [
"<string>"
]
}
}
'import requests
url = "https://sandbox.api.cortexanote.com/v2/scribe/open-api/connectors"
payload = {
"name": "<string>",
"description": "<string>",
"endpoint": "<string>",
"tools": [
{
"name": "<string>",
"description": "<string>",
"input_schema": {},
"write": True,
"output_schema": {},
"method": "POST",
"path": "",
"annotations": {}
}
],
"profile": "tools",
"auth": "bearer",
"oauth": {
"authorization_url": "<string>",
"token_url": "<string>",
"client_id": "<string>",
"redirect_uri": "<string>",
"scopes": ["<string>"]
}
}
headers = {
"Cortexa-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "<string>",
"manifest": {
"name": "<string>",
"description": "<string>",
"transport": "rest",
"endpoint": "<string>",
"tools": [
{
"name": "<string>",
"description": "<string>",
"input_schema": {},
"write": true,
"output_schema": {},
"method": "POST",
"path": "",
"annotations": {}
}
],
"profile": "tools",
"auth": "bearer",
"oauth": {
"authorization_url": "<string>",
"token_url": "<string>",
"client_id": "<string>",
"redirect_uri": "<string>",
"scopes": [
"<string>"
]
}
},
"manifest_hash": "<string>",
"approved": true,
"enabled": true
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}Body
application/json