use api key in copy curl if avaliable (#307)

Co-authored-by: Muhammed Salih Altun <muhammedsalihaltun@gmail.com>
This commit is contained in:
Kerem Yilmaz
2024-05-14 05:02:12 -07:00
committed by GitHub
parent 9926ee1d36
commit aea85addd1
3 changed files with 63 additions and 2 deletions

View File

@@ -81,3 +81,23 @@ export type TaskApiResponse = {
export type User = {
name: string;
};
export type OrganizationApiResponse = {
created_at: string;
modified_at: string;
max_retries_per_step: number | null;
max_steps_per_run: number | null;
organization_id: string;
organization_name: string;
webhook_callback_url: string | null;
};
export type ApiKeyApiResponse = {
id: string;
organization_id: string;
token: string;
created_at: string;
modified_at: string;
token_type: string;
valid: boolean;
};