Describe the API key making this request
GET
/v1/key
const url = 'https://api.copilot.launchwing.io/v1/key';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.copilot.launchwing.io/v1/key \ --header 'Authorization: Bearer <token>'Accepts a secret key (Authorization: Bearer sk_…) or, from an allowed website, a public key (X-Launchwing-Key). Useful to check a connection; the first call marks “First request received”.
Authorizations
Section titled “ Authorizations ”Responses
Section titled “ Responses ”Default Response
Media type application/json
Default Response
Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
requestId
required
string
fields
Array<object>
object
path
required
string
message
required
string
Example
{ "error": { "type": "invalid_request_error", "code": "validation_failed" }}Default Response
Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
requestId
required
string
fields
Array<object>
object
path
required
string
message
required
string
Example
{ "error": { "type": "invalid_request_error", "code": "validation_failed" }}Default Response
Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
requestId
required
string
fields
Array<object>
object
path
required
string
message
required
string
Example
{ "error": { "type": "invalid_request_error", "code": "validation_failed" }}Default Response
Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
requestId
required
string
fields
Array<object>
object
path
required
string
message
required
string
Example
{ "error": { "type": "invalid_request_error", "code": "validation_failed" }}Default Response
Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
requestId
required
string
fields
Array<object>
object
path
required
string
message
required
string
Example
{ "error": { "type": "invalid_request_error", "code": "validation_failed" }}Default Response
Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
requestId
required
string
fields
Array<object>
object
path
required
string
message
required
string
Example
{ "error": { "type": "invalid_request_error", "code": "validation_failed" }}Default Response
Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
requestId
required
string
fields
Array<object>
object
path
required
string
message
required
string
Example
{ "error": { "type": "invalid_request_error", "code": "validation_failed" }}Copilot by Launchwing™
Sanish Krishnan Surya, Bangalore, Karnataka, India