/agents/{name}/chat "/agents/{name}/chat" : { delete ?: undefined ; get ?: undefined ; head ?: undefined ; options ?: undefined ; parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; patch ?: undefined ; post : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { name : string } ; query ?: undefined ; } ; requestBody ?: { content : { "application/json" : { context ?: { conversation_id ?: string ; custom ?: { [ key : string ]: unknown } ; user_id ?: string ; } ; messages : { content : | string | { [ key : string ]: unknown } | { image_url ?: ...; text ?: ...; type : ... } [] ; name ?: string ; role : "assistant" | "system" | "user" | "tool" ; tool_call_id ?: string ; } [] ; stream : boolean ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { message : { content : unknown ; role : "assistant" ; tool_calls ?: { function : { arguments : ...; name : ... } ; id : string ; type : "function" ; } [] ; } ; } ; "text/event-stream" : { chunk : string } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "401" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "404" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "502" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "504" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; } ; } ; put ?: undefined ; trace ?: undefined ; }
Type Declaration Optionaldelete ?: undefined Optionalget ?: undefined Optionalhead ?: undefined Optionaloptions ?: undefined parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined } Optionalpatch ?: undefined post : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { name : string } ; query ?: undefined ; } ; requestBody ?: { content : { "application/json" : { context ?: { conversation_id ?: string ; custom ?: { [ key : string ]: unknown } ; user_id ?: string ; } ; messages : { content : | string | { [ key : string ]: unknown } | { image_url ?: ...; text ?: ...; type : ... } [] ; name ?: string ; role : "assistant" | "system" | "user" | "tool" ; tool_call_id ?: string ; } [] ; stream : boolean ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { message : { content : unknown ; role : "assistant" ; tool_calls ?: { function : { arguments : ...; name : ... } ; id : string ; type : "function" ; } [] ; } ; } ; "text/event-stream" : { chunk : string } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "401" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "404" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "502" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "504" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; } ; } parameters : { cookie ?: undefined ; header ?: undefined ; path : { name : string } ; query ?: undefined ; } Optionalcookie ?: undefined Optionalheader ?: undefined path : { name : string } Optionalquery ?: undefined OptionalrequestBody ?: { content : { "application/json" : { context ?: { conversation_id ?: string ; custom ?: { [ key : string ]: unknown } ; user_id ?: string ; } ; messages : { content : | string | { [ key : string ]: unknown } | { image_url ?: ...; text ?: ...; type : ... } [] ; name ?: string ; role : "assistant" | "system" | "user" | "tool" ; tool_call_id ?: string ; } [] ; stream : boolean ; } ; } ; } responses : { "200" : { content : { "application/json" : { message : { content : unknown ; role : "assistant" ; tool_calls ?: { function : { arguments : ...; name : ... } ; id : string ; type : "function" ; } [] ; } ; } ; "text/event-stream" : { chunk : string } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "401" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "404" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "502" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "504" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; } 200 : { content : { "application/json" : { message : { content : unknown ; role : "assistant" ; tool_calls ?: { function : { arguments : ...; name : ... } ; id : string ; type : "function" ; } [] ; } ; } ; "text/event-stream" : { chunk : string } ; } ; headers : { [ name : string ]: unknown } ; } 400 : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } 401 : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } 404 : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } 500 : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } 502 : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } 504 : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } Optionalput ?: undefined Optionaltrace ?: undefined /agents/{name}/invoke "/agents/{name}/invoke" : { delete ?: undefined ; get ?: undefined ; head ?: undefined ; options ?: undefined ; parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; patch ?: undefined ; post : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { name : string } ; query ?: undefined ; } ; requestBody ?: { content : { "application/json" : { context ?: { conversation_id ?: string ; custom ?: { [ key : string ]: unknown } ; user_id ?: string ; } ; input : { [ key : string ]: unknown } ; stream : boolean ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { output ?: unknown } ; "text/event-stream" : { chunk : string } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "401" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "404" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "502" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "504" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; } ; } ; put ?: undefined ; trace ?: undefined ; }
Type Declaration Optionaldelete ?: undefined Optionalget ?: undefined Optionalhead ?: undefined Optionaloptions ?: undefined parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined } Optionalpatch ?: undefined post : { parameters : { cookie ?: undefined ; header ?: undefined ; path : { name : string } ; query ?: undefined ; } ; requestBody ?: { content : { "application/json" : { context ?: { conversation_id ?: string ; custom ?: { [ key : string ]: unknown } ; user_id ?: string ; } ; input : { [ key : string ]: unknown } ; stream : boolean ; } ; } ; } ; responses : { "200" : { content : { "application/json" : { output ?: unknown } ; "text/event-stream" : { chunk : string } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "401" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "404" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "502" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "504" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; } ; } parameters : { cookie ?: undefined ; header ?: undefined ; path : { name : string } ; query ?: undefined ; } Optionalcookie ?: undefined Optionalheader ?: undefined path : { name : string } Optionalquery ?: undefined OptionalrequestBody ?: { content : { "application/json" : { context ?: { conversation_id ?: string ; custom ?: { [ key : string ]: unknown } ; user_id ?: string ; } ; input : { [ key : string ]: unknown } ; stream : boolean ; } ; } ; } responses : { "200" : { content : { "application/json" : { output ?: unknown } ; "text/event-stream" : { chunk : string } ; } ; headers : { [ name : string ]: unknown } ; } ; "400" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "401" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "404" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "500" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "502" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "504" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; } 200 : { content : { "application/json" : { output ?: unknown } ; "text/event-stream" : { chunk : string } ; } ; headers : { [ name : string ]: unknown } ; } 400 : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } 401 : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } 404 : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } 500 : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } 502 : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } 504 : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } Optionalput ?: undefined Optionaltrace ?: undefined /project "/project" : { delete ?: undefined ; get : { parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { createdAt : string ; id : string ; name : string ; organizationId : string ; slug : string ; updatedAt : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "401" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "404" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; } ; } ; head ?: undefined ; options ?: undefined ; parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; patch ?: undefined ; post ?: undefined ; put ?: undefined ; trace ?: undefined ; }
Type Declaration Optionaldelete ?: undefined get : { parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined ; } ; requestBody ?: undefined ; responses : { "200" : { content : { "application/json" : { createdAt : string ; id : string ; name : string ; organizationId : string ; slug : string ; updatedAt : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "401" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "404" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; } ; } parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined } OptionalrequestBody ?: undefined responses : { "200" : { content : { "application/json" : { createdAt : string ; id : string ; name : string ; organizationId : string ; slug : string ; updatedAt : string ; } ; } ; headers : { [ name : string ]: unknown } ; } ; "401" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; "404" : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } ; } 200 : { content : { "application/json" : { createdAt : string ; id : string ; name : string ; organizationId : string ; slug : string ; updatedAt : string ; } ; } ; headers : { [ name : string ]: unknown } ; } 401 : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } 404 : { content : { "application/json" : { error : string } } ; headers : { [ name : string ]: unknown } ; } Optionalhead ?: undefined Optionaloptions ?: undefined parameters : { cookie ?: undefined ; header ?: undefined ; path ?: undefined ; query ?: undefined } Optionalpatch ?: undefined Optionalpost ?: undefined Optionalput ?: undefined Optionaltrace ?: undefined
This file was auto-generated by openapi-typescript. Do not make direct changes to the file.