MCPcopy Create free account
hub / github.com/arctic-cli/interface / create

Method create

packages/sdk/js/src/gen/sdk.gen.ts:445–454  ·  view source on GitHub ↗

* Create a new session

(options?: Options<SessionCreateData, ThrowOnError>)

Source from the content-addressed store, hash-verified

443 * Create a new session
444 */
445 public create<ThrowOnError extends boolean = false>(options?: Options<SessionCreateData, ThrowOnError>) {
446 return (options?.client ?? this._client).post<SessionCreateResponses, SessionCreateErrors, ThrowOnError>({
447 url: "/session",
448 ...options,
449 headers: {
450 "Content-Type": "application/json",
451 ...options?.headers,
452 },
453 })
454 }
455
456 /**
457 * Get session status

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected