Create a forged connector
POST
/api/v1/forge/connectors
const url = 'https://api.ultimateteam.ai/api/v1/forge/connectors';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"credentials":{"header_name":"X-API-Key","key_value":"example","password":"example","username":"example"},"template":{"auth_type":"example","base_url":"example","description":"","endpoints":[{"body_schema":{},"method":"example","path":"example","query_params":{},"response_schema":{}}],"name":"example","oauth_config":{},"rate_limits":{"per_day":0,"per_hour":0,"per_minute":0}}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.ultimateteam.ai/api/v1/forge/connectors \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "credentials": { "header_name": "X-API-Key", "key_value": "example", "password": "example", "username": "example" }, "template": { "auth_type": "example", "base_url": "example", "description": "", "endpoints": [ { "body_schema": {}, "method": "example", "path": "example", "query_params": {}, "response_schema": {} } ], "name": "example", "oauth_config": {}, "rate_limits": { "per_day": 0, "per_hour": 0, "per_minute": 0 } } }'Persist a new forged connector for the calling tenant.
RPE-01 (v46.0): chairman-only. Operators may edit existing connectors via PUT, but only the chairman can spin up new ones because each new connector is a new outbound trust boundary.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
ConnectorCreateRequest
POST body.
object
credentials
Any of:
ConnectorCredentialsIn
Sealed credential bundle for api_key / basic connectors.
Never persisted on the template, version snapshots, or any response.
null
template
required
ConnectorTemplateIn
Tenant-supplied connector template payload.
object
auth_type
required
Auth Type
string
base_url
required
Base Url
string
description
Description
string
endpoints
Endpoints
Array<object>
EndpointInInbound endpoint spec on create / update.
object
body_schema
Body Schema
object
key
additional properties
any
method
required
Method
string
path
required
Path
string
query_params
Query Params
object
key
additional properties
any
response_schema
Response Schema
object
key
additional properties
any
name
required
Name
string
rate_limits
RateLimitIn
Inbound rate-limit spec.
object
per_day
Per Day
integer
per_hour
Per Hour
integer
per_minute
Per Minute
integer
Responses
Section titled “ Responses ”Successful Response
Media typeapplication/json
ConnectorResponse
Wire shape for read / list endpoints.
object
created_at
required
Created At
string format: date-time
credentials_configured
Credentials Configured
boolean
id
required
Id
string format: uuid
status
required
Status
string
template
required
Template
object
key
additional properties
any
tenant_id
required
Tenant Id
string format: uuid
updated_at
required
Updated At
string format: date-time
version
required
Version
integer
Example
{ "credentials_configured": false}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}