{"openapi":"3.1.0","info":{"title":"DarhimLabs API","description":"REST API DarhimLabs v2 - AI Business OS dla rozmow, leadow, agentow i compliance.\n\n## Autentykacja\nWszystkie endpointy wymagaja `Authorization: Bearer dl_live_...` albo OAuth 2.0.\n\n## Srodowiska\n- Production: `https://api.darhimlabs.pl/api/v2`\n- Sandbox: `https://api.darhimlabs.pl/api/v2-sandbox`\n\n## Wersjonowanie\nURL versioning. Pelne SLA dla `v2` przez 24 miesiace od publikacji `v3`.\n","version":"2.4.0","termsOfService":"https://app.darhimlabs.pl/regulamin","contact":{"name":"Developer Support","email":"developers@darhimlabs.pl","url":"https://app.darhimlabs.pl/docs"},"license":{"name":"Proprietary","url":"https://app.darhimlabs.pl/regulamin"}},"servers":[{"url":"https://api.darhimlabs.pl/api/v2","description":"Production"},{"url":"https://api.darhimlabs.pl/api/v2-sandbox","description":"Sandbox"}],"security":[{"BearerAuth":[]},{"OAuth2":["read","write"]}],"x-darhimlabs-code-samples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}],"tags":[{"name":"Inbox","description":"Konwersacje, wiadomosci, AI Draft, eskalacje."},{"name":"Bots","description":"Tworzenie i zarzadzanie botami."},{"name":"Agents","description":"AI Agents Studio - dry-run, approvals, runs."},{"name":"Leads","description":"Lead management i CRM sync."},{"name":"Knowledge","description":"Bazy wiedzy, dokumenty, crawl i RAG search."},{"name":"Voice","description":"Voice calls, numbers, recordings, transkrypcje."},{"name":"Webhooks","description":"Webhook endpoints v2, retry, replay i playground."},{"name":"Workspaces","description":"Workspace, team management i usage."},{"name":"Compliance","description":"DSAR, audit log, evidence, retention i PII."}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API key"},"OAuth2":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://app.darhimlabs.pl/oauth/authorize","tokenUrl":"https://api.darhimlabs.pl/oauth/token","scopes":{"read":"Odczyt danych workspace","write":"Modyfikacja danych workspace","admin":"Zarzadzanie workspace i members"}}}}},"parameters":{"Id":{"name":"id","in":"path","required":true,"schema":{"type":"string"}},"RunId":{"name":"run_id","in":"path","required":true,"schema":{"type":"string"}},"MemberId":{"name":"member_id","in":"path","required":true,"schema":{"type":"string"}},"PlaygroundToken":{"name":"token","in":"path","required":true,"schema":{"type":"string","minLength":12,"maxLength":80},"description":"Token inboxa wygenerowany na /webhooks/playground."},"Cursor":{"name":"cursor","in":"query","schema":{"type":"string"}},"Limit":{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},"WorkspaceIdHeader":{"name":"X-Workspace-Id","in":"header","schema":{"type":"string"},"description":"Override workspace context. Default = workspace assigned to API key."},"IdempotencyKey":{"name":"Idempotency-Key","in":"header","schema":{"type":"string","maxLength":255},"description":"Klucz idempotencji dla POST/PATCH."}},"schemas":{"Error":{"type":"object","required":["error","message","request_id"],"properties":{"error":{"type":"string","example":"rate_limited"},"message":{"type":"string","example":"Too many requests. Retry after 60 seconds."},"code":{"type":"string","example":"RATE_LIMIT_EXCEEDED"},"request_id":{"type":"string","example":"req_01HKQWERTY"},"documentation_url":{"type":"string","example":"https://app.darhimlabs.pl/docs/errors#rate_limit"}}},"Pagination":{"type":"object","properties":{"next_cursor":{"type":"string","nullable":true},"has_more":{"type":"boolean"}}},"Conversation":{"type":"object","required":["id","channel","status","created_at"],"properties":{"id":{"type":"string","example":"conv_01HKQWERTY"},"channel":{"type":"string","enum":["whatsapp","messenger","email","voice","web","sms","instagram"]},"status":{"type":"string","enum":["open","pending","resolved","archived"]},"lead_score":{"type":"object","additionalProperties":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"Message":{"type":"object","properties":{"id":{"type":"string"},"conversation_id":{"type":"string"},"direction":{"type":"string","enum":["inbound","outbound"]},"content":{"type":"string"},"created_at":{"type":"string","format":"date-time"}}},"Bot":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["draft","published","archived"]}}},"Agent":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["draft","active","paused"]}}},"Lead":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string","nullable":true},"phone":{"type":"string","nullable":true},"score":{"type":"integer"}}},"KnowledgeBase":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"freshness_status":{"type":"string"}}},"KnowledgeDocument":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"status":{"type":"string"}}},"VoiceCall":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"}}},"WebhookEndpoint":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}}}},"Workspace":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"plan":{"type":"string"}}},"Member":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"role":{"type":"string"}}},"AuditEvent":{"type":"object","properties":{"id":{"type":"string"},"actor":{"type":"string"},"action":{"type":"string"},"created_at":{"type":"string","format":"date-time"}}},"DSARRequest":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"subject_email":{"type":"string"}}}},"responses":{"Ok":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"Created":{"description":"Resource created","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"Deleted":{"description":"Resource deleted","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"Unauthorized":{"description":"Brak lub nieprawidlowy API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"RateLimited":{"description":"Przekroczono rate limit","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}},"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/":{"get":{"operationId":"getApiRoot","tags":["Workspaces"],"summary":"API root","description":"Zwraca katalog zasobow API v2 i preview event catalog.","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/inbox/conversations":{"get":{"operationId":"listConversations","tags":["Inbox"],"summary":"Lista konwersacji","description":"Pobiera konwersacje z workspace z opcjonalnymi filtrami i cursor pagination.","parameters":[{"$ref":"#/components/parameters/Cursor"},{"$ref":"#/components/parameters/Limit"},{"name":"channel","in":"query","schema":{"type":"string","enum":["whatsapp","messenger","email","voice","web"]}},{"name":"status","in":"query","schema":{"type":"string","enum":["open","pending","resolved"]}}],"responses":{"200":{"$ref":"#/components/responses/Ok"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/inbox/conversations \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\nconst { data } = await client.inbox.conversations.list({ status: \"open\" });\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\npage = client.inbox.conversations.list(status=\"open\")\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n$page = $client->inbox->conversations->list([\"status\" => \"open\"]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\nclient.inbox.conversations.list(status: \"open\")\n"}]},"post":{"operationId":"createConversation","tags":["Inbox"],"summary":"Utworz konwersacje","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"201":{"$ref":"#/components/responses/Created"},"401":{"$ref":"#/components/responses/Unauthorized"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/inbox/conversations/{id}":{"get":{"operationId":"getConversation","tags":["Inbox"],"summary":"Szczegoly konwersacji","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"},"401":{"$ref":"#/components/responses/Unauthorized"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"patch":{"operationId":"updateConversation","tags":["Inbox"],"summary":"Aktualizuj konwersacje","parameters":[{"$ref":"#/components/parameters/Id"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/inbox/conversations/{id}/messages":{"get":{"operationId":"listMessages","tags":["Inbox"],"summary":"Lista wiadomosci","parameters":[{"$ref":"#/components/parameters/Id"},{"$ref":"#/components/parameters/Cursor"},{"$ref":"#/components/parameters/Limit"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"sendMessage","tags":["Inbox"],"summary":"Wyslij wiadomosc","parameters":[{"$ref":"#/components/parameters/Id"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"$ref":"#/components/responses/Ok"},"429":{"$ref":"#/components/responses/RateLimited"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/inbox/conversations/{id}/ai-draft":{"post":{"operationId":"createAiDraft","tags":["Inbox"],"summary":"Wygeneruj AI Draft","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/inbox/conversations/{id}/assign":{"post":{"operationId":"assignConversation","tags":["Inbox"],"summary":"Przypisz konwersacje","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/inbox/conversations/{id}/resolve":{"post":{"operationId":"resolveConversation","tags":["Inbox"],"summary":"Zamknij konwersacje","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/inbox/templates":{"get":{"operationId":"listReplyTemplates","tags":["Inbox"],"summary":"Lista szablonow odpowiedzi","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"createReplyTemplate","tags":["Inbox"],"summary":"Utworz szablon odpowiedzi","responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/inbox/tags":{"get":{"operationId":"listInboxTags","tags":["Inbox"],"summary":"Lista tagow inboxa","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"createInboxTag","tags":["Inbox"],"summary":"Utworz tag inboxa","responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/conversations":{"get":{"operationId":"listPublicConversations","tags":["Inbox"],"summary":"Lista konwersacji public API v2","parameters":[{"$ref":"#/components/parameters/Cursor"},{"$ref":"#/components/parameters/Limit"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/bots":{"get":{"operationId":"listBots","tags":["Bots"],"summary":"Lista botow","parameters":[{"$ref":"#/components/parameters/Cursor"},{"$ref":"#/components/parameters/Limit"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"createBot","tags":["Bots"],"summary":"Utworz bota","responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/bots/{id}":{"get":{"operationId":"getBot","tags":["Bots"],"summary":"Szczegoly bota","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"patch":{"operationId":"updateBot","tags":["Bots"],"summary":"Aktualizuj bota","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"delete":{"operationId":"deleteBot","tags":["Bots"],"summary":"Usun bota","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Deleted"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/bots/{id}/publish":{"post":{"operationId":"publishBot","tags":["Bots"],"summary":"Opublikuj bota","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/bots/{id}/versions":{"get":{"operationId":"listBotVersions","tags":["Bots"],"summary":"Lista wersji bota","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"createBotVersion","tags":["Bots"],"summary":"Utworz wersje bota","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/bots/{id}/versions/{run_id}/rollback":{"post":{"operationId":"rollbackBotVersion","tags":["Bots"],"summary":"Rollback wersji bota","parameters":[{"$ref":"#/components/parameters/Id"},{"$ref":"#/components/parameters/RunId"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/bots/{id}/clone":{"post":{"operationId":"cloneBot","tags":["Bots"],"summary":"Sklonuj bota","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/bots/{id}/tools":{"get":{"operationId":"listBotTools","tags":["Bots"],"summary":"Lista narzedzi bota","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"attachBotTool","tags":["Bots"],"summary":"Dodaj narzedzie bota","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/bots/{id}/guardrails":{"get":{"operationId":"getBotGuardrails","tags":["Bots"],"summary":"Pobierz guardrails bota","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"patch":{"operationId":"updateBotGuardrails","tags":["Bots"],"summary":"Aktualizuj guardrails bota","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/bots/{id}/messages":{"post":{"operationId":"sendBotMessage","tags":["Bots"],"summary":"Wyslij wiadomosc do bota","parameters":[{"$ref":"#/components/parameters/Id"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/agents":{"get":{"operationId":"listAgents","tags":["Agents"],"summary":"Lista agentow","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"createAgent","tags":["Agents"],"summary":"Utworz agenta","responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/agents/{id}":{"get":{"operationId":"getAgent","tags":["Agents"],"summary":"Szczegoly agenta","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"patch":{"operationId":"updateAgent","tags":["Agents"],"summary":"Aktualizuj agenta","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/agents/{id}/runs":{"get":{"operationId":"listAgentRuns","tags":["Agents"],"summary":"Lista uruchomien agenta","description":"Pobiera runy agenta. Parametr `include=postmortem` jest deprecated od v2.4.0.\nUzyj `GET /agents/{id}/runs/{run_id}`, zeby pobrac szczegoly runa z postmortem.\n","deprecated":true,"parameters":[{"$ref":"#/components/parameters/Id"},{"name":"include","in":"query","schema":{"type":"string","enum":["postmortem"]},"deprecated":true,"description":"Deprecated. Uzyj GET /agents/{id}/runs/{run_id}."}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-darhimlabs-deprecation":{"since":"2.4.0","removeIn":"3.0.0","removeAt":"2026-12-31","sunset":"Wed, 31 Dec 2026 23:59:59 GMT","alternative":"GET /agents/{id}/runs/{run_id}","migrationGuide":"/docs/migration/v2-to-v3#runs-postmortem"},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"createAgentRun","tags":["Agents"],"summary":"Uruchom agenta","parameters":[{"$ref":"#/components/parameters/Id"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/agents/{id}/runs/{run_id}":{"get":{"operationId":"getAgentRun","tags":["Agents"],"summary":"Szczegoly runa agenta","parameters":[{"$ref":"#/components/parameters/Id"},{"$ref":"#/components/parameters/RunId"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/agents/{id}/runs/{run_id}/approve":{"post":{"operationId":"approveAgentRun","tags":["Agents"],"summary":"Zatwierdz run agenta","parameters":[{"$ref":"#/components/parameters/Id"},{"$ref":"#/components/parameters/RunId"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/agents/{id}/runs/{run_id}/cancel":{"post":{"operationId":"cancelAgentRun","tags":["Agents"],"summary":"Anuluj run agenta","parameters":[{"$ref":"#/components/parameters/Id"},{"$ref":"#/components/parameters/RunId"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/agents/{id}/dry-run":{"post":{"operationId":"dryRunAgent","tags":["Agents"],"summary":"Dry-run agenta","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/agents/{id}/dry-run/stream":{"post":{"operationId":"streamAgentDryRun","tags":["Agents"],"summary":"Stream dry-run agenta","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/agents/{id}/approvals":{"get":{"operationId":"listAgentApprovals","tags":["Agents"],"summary":"Lista approvali agenta","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/leads":{"get":{"operationId":"listLeads","tags":["Leads"],"summary":"Lista leadow","parameters":[{"$ref":"#/components/parameters/Cursor"},{"$ref":"#/components/parameters/Limit"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"createLead","tags":["Leads"],"summary":"Utworz leada","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/leads/{id}":{"get":{"operationId":"getLead","tags":["Leads"],"summary":"Szczegoly leada","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"patch":{"operationId":"updateLead","tags":["Leads"],"summary":"Aktualizuj leada","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"delete":{"operationId":"deleteLead","tags":["Leads"],"summary":"Usun leada","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Deleted"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/leads/{id}/qualify":{"post":{"operationId":"qualifyLead","tags":["Leads"],"summary":"Kwalifikuj leada","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/leads/{id}/sync":{"post":{"operationId":"syncLeadToCrm","tags":["Leads"],"summary":"Sync leada do CRM","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/leads/{id}/activities":{"get":{"operationId":"listLeadActivities","tags":["Leads"],"summary":"Lista aktywnosci leada","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"createLeadActivity","tags":["Leads"],"summary":"Dodaj aktywnosc leada","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/leads/{id}/status":{"post":{"operationId":"updateLeadStatus","tags":["Leads"],"summary":"Zmien status leada","parameters":[{"$ref":"#/components/parameters/Id"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/knowledge/bases":{"get":{"operationId":"listKnowledgeBases","tags":["Knowledge"],"summary":"Lista baz wiedzy","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"createKnowledgeBase","tags":["Knowledge"],"summary":"Utworz baze wiedzy","responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/knowledge/bases/{id}":{"get":{"operationId":"getKnowledgeBase","tags":["Knowledge"],"summary":"Szczegoly bazy wiedzy","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"patch":{"operationId":"updateKnowledgeBase","tags":["Knowledge"],"summary":"Aktualizuj baze wiedzy","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"delete":{"operationId":"deleteKnowledgeBase","tags":["Knowledge"],"summary":"Usun baze wiedzy","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Deleted"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/knowledge/bases/{id}/documents":{"get":{"operationId":"listKnowledgeDocuments","tags":["Knowledge"],"summary":"Lista dokumentow","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"uploadKnowledgeDocument","tags":["Knowledge"],"summary":"Wgraj dokument","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/knowledge/documents/{id}":{"get":{"operationId":"getKnowledgeDocument","tags":["Knowledge"],"summary":"Szczegoly dokumentu","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"delete":{"operationId":"deleteKnowledgeDocument","tags":["Knowledge"],"summary":"Usun dokument","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Deleted"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/knowledge/search":{"post":{"operationId":"searchKnowledge","tags":["Knowledge"],"summary":"RAG search","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/knowledge/crawl":{"post":{"operationId":"crawlKnowledgeSource","tags":["Knowledge"],"summary":"Uruchom crawl strony","responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/knowledge/gaps":{"get":{"operationId":"listKnowledgeGaps","tags":["Knowledge"],"summary":"Lista knowledge gaps","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/voice/numbers":{"get":{"operationId":"listVoiceNumbers","tags":["Voice"],"summary":"Lista numerow voice","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"provisionVoiceNumber","tags":["Voice"],"summary":"Provisioning numeru voice","responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/voice/calls":{"get":{"operationId":"listVoiceCalls","tags":["Voice"],"summary":"Lista polaczen","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"createVoiceCall","tags":["Voice"],"summary":"Rozpocznij polaczenie","responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/voice/calls/{id}":{"get":{"operationId":"getVoiceCall","tags":["Voice"],"summary":"Szczegoly polaczenia","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/voice/calls/{id}/transfer":{"post":{"operationId":"transferVoiceCall","tags":["Voice"],"summary":"Transfer polaczenia do czlowieka","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/voice/calls/{id}/recording":{"get":{"operationId":"getVoiceRecording","tags":["Voice"],"summary":"Pobierz recording","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/voice/calls/{id}/transcript":{"get":{"operationId":"getVoiceTranscript","tags":["Voice"],"summary":"Pobierz transkrypcje","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/voice/token":{"post":{"operationId":"createVoiceToken","tags":["Voice"],"summary":"Utworz token voice client","responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/webhooks/endpoints":{"get":{"operationId":"listWebhookEndpoints","tags":["Webhooks"],"summary":"Lista endpointow webhook","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"createWebhookEndpoint","tags":["Webhooks"],"summary":"Utworz endpoint webhook","responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/webhooks/endpoints/{id}":{"get":{"operationId":"getWebhookEndpoint","tags":["Webhooks"],"summary":"Szczegoly endpointu webhook","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"patch":{"operationId":"updateWebhookEndpoint","tags":["Webhooks"],"summary":"Aktualizuj endpoint webhook","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"delete":{"operationId":"deleteWebhookEndpoint","tags":["Webhooks"],"summary":"Usun endpoint webhook","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Deleted"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/webhooks/endpoints/{id}/test":{"post":{"operationId":"testWebhookEndpoint","tags":["Webhooks"],"summary":"Wyslij testowy webhook","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/webhooks/endpoints/{id}/rotate-secret":{"post":{"operationId":"rotateWebhookSecret","tags":["Webhooks"],"summary":"Rotuj sekret webhooka","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/webhooks/deliveries":{"get":{"operationId":"listWebhookDeliveries","tags":["Webhooks"],"summary":"Lista delivery webhookow","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/webhooks/deliveries/{id}":{"get":{"operationId":"getWebhookDelivery","tags":["Webhooks"],"summary":"Szczegoly delivery webhooka","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/webhooks/deliveries/{id}/replay":{"post":{"operationId":"replayWebhookDelivery","tags":["Webhooks"],"summary":"Ponow delivery webhooka","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/webhooks/events":{"get":{"operationId":"listWebhookEvents","tags":["Webhooks"],"summary":"Event catalog","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/webhooks/playground/{token}":{"get":{"operationId":"captureWebhookPlaygroundGet","tags":["Webhooks"],"summary":"Odbierz GET w Webhook Playground","security":[],"parameters":[{"$ref":"#/components/parameters/PlaygroundToken"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"captureWebhookPlaygroundPost","tags":["Webhooks"],"summary":"Odbierz POST w Webhook Playground","security":[],"parameters":[{"$ref":"#/components/parameters/PlaygroundToken"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"put":{"operationId":"captureWebhookPlaygroundPut","tags":["Webhooks"],"summary":"Odbierz PUT w Webhook Playground","security":[],"parameters":[{"$ref":"#/components/parameters/PlaygroundToken"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"patch":{"operationId":"captureWebhookPlaygroundPatch","tags":["Webhooks"],"summary":"Odbierz PATCH w Webhook Playground","security":[],"parameters":[{"$ref":"#/components/parameters/PlaygroundToken"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"delete":{"operationId":"captureWebhookPlaygroundDelete","tags":["Webhooks"],"summary":"Odbierz DELETE w Webhook Playground","security":[],"parameters":[{"$ref":"#/components/parameters/PlaygroundToken"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/events":{"get":{"operationId":"listEventCatalog","tags":["Webhooks"],"summary":"Publiczny katalog eventow","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/webhook-endpoints":{"get":{"operationId":"listPublicWebhookEndpoints","tags":["Webhooks"],"summary":"Lista endpointow webhook public API v2","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"createPublicWebhookEndpoint","tags":["Webhooks"],"summary":"Utworz endpoint webhook public API v2","responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/webhook-endpoints/{id}":{"get":{"operationId":"getPublicWebhookEndpoint","tags":["Webhooks"],"summary":"Szczegoly endpointu webhook public API v2","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"patch":{"operationId":"updatePublicWebhookEndpoint","tags":["Webhooks"],"summary":"Aktualizuj endpoint webhook public API v2","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"delete":{"operationId":"deletePublicWebhookEndpoint","tags":["Webhooks"],"summary":"Usun endpoint webhook public API v2","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Deleted"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/workspaces/current":{"get":{"operationId":"getCurrentWorkspace","tags":["Workspaces"],"summary":"Aktualny workspace","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/workspaces/{id}":{"get":{"operationId":"getWorkspace","tags":["Workspaces"],"summary":"Szczegoly workspace","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"patch":{"operationId":"updateWorkspace","tags":["Workspaces"],"summary":"Aktualizuj workspace","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/workspaces/{id}/members":{"get":{"operationId":"listWorkspaceMembers","tags":["Workspaces"],"summary":"Lista czlonkow workspace","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"inviteWorkspaceMember","tags":["Workspaces"],"summary":"Zapros czlonka workspace","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/workspaces/{id}/members/{member_id}":{"patch":{"operationId":"updateWorkspaceMember","tags":["Workspaces"],"summary":"Aktualizuj role czlonka","parameters":[{"$ref":"#/components/parameters/Id"},{"$ref":"#/components/parameters/MemberId"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"delete":{"operationId":"removeWorkspaceMember","tags":["Workspaces"],"summary":"Usun czlonka workspace","parameters":[{"$ref":"#/components/parameters/Id"},{"$ref":"#/components/parameters/MemberId"}],"responses":{"200":{"$ref":"#/components/responses/Deleted"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/workspaces/{id}/usage":{"get":{"operationId":"getWorkspaceUsage","tags":["Workspaces"],"summary":"Usage workspace","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/usage":{"get":{"operationId":"getPublicApiUsage","tags":["Workspaces"],"summary":"Usage public API v2","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/api-logs":{"get":{"operationId":"listApiLogs","tags":["Workspaces"],"summary":"Live API logs","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/oauth/apps":{"get":{"operationId":"listOAuthApps","tags":["Workspaces"],"summary":"Lista OAuth apps","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"createOAuthApp","tags":["Workspaces"],"summary":"Utworz OAuth app","responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"patch":{"operationId":"updateOAuthApp","tags":["Workspaces"],"summary":"Aktualizuj OAuth app","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/openapi-snapshots":{"get":{"operationId":"listOpenApiSnapshots","tags":["Workspaces"],"summary":"Lista snapshotow OpenAPI","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"createOpenApiSnapshot","tags":["Workspaces"],"summary":"Utworz snapshot OpenAPI","responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/sandbox-workspaces":{"get":{"operationId":"listSandboxWorkspaces","tags":["Workspaces"],"summary":"Lista sandbox workspaces","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"createSandboxWorkspace","tags":["Workspaces"],"summary":"Utworz sandbox workspace","responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/sdk-generations":{"get":{"operationId":"listSdkGenerations","tags":["Workspaces"],"summary":"Lista generacji SDK","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"createSdkGeneration","tags":["Workspaces"],"summary":"Uruchom generacje SDK","responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/terraform-resources":{"get":{"operationId":"listTerraformResources","tags":["Workspaces"],"summary":"Lista Terraform resources","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/compliance/audit-log":{"get":{"operationId":"listAuditLog","tags":["Compliance"],"summary":"Audit log","parameters":[{"$ref":"#/components/parameters/Cursor"},{"$ref":"#/components/parameters/Limit"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/compliance/dsar":{"get":{"operationId":"listDsarRequests","tags":["Compliance"],"summary":"Lista DSAR","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"post":{"operationId":"createDsarRequest","tags":["Compliance"],"summary":"Utworz DSAR","responses":{"201":{"$ref":"#/components/responses/Created"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/compliance/dsar/{id}":{"get":{"operationId":"getDsarRequest","tags":["Compliance"],"summary":"Szczegoly DSAR","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/compliance/dsar/{id}/export":{"post":{"operationId":"exportDsarRequest","tags":["Compliance"],"summary":"Eksport DSAR","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/compliance/evidence":{"get":{"operationId":"listComplianceEvidence","tags":["Compliance"],"summary":"Lista evidence","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/compliance/evidence/{id}/download":{"get":{"operationId":"downloadComplianceEvidence","tags":["Compliance"],"summary":"Pobierz evidence","parameters":[{"$ref":"#/components/parameters/Id"}],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/compliance/pii-redaction":{"post":{"operationId":"redactPii","tags":["Compliance"],"summary":"Maskuj PII","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/compliance/retention":{"get":{"operationId":"getRetentionPolicies","tags":["Compliance"],"summary":"Retention policies","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]},"patch":{"operationId":"updateRetentionPolicies","tags":["Compliance"],"summary":"Aktualizuj retention policies","responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}},"/health":{"get":{"operationId":"getApiHealth","tags":["Workspaces"],"summary":"Health API","description":"Zwraca status modulow API v2.","security":[],"responses":{"200":{"$ref":"#/components/responses/Ok"}},"x-codeSamples":[{"lang":"cURL","source":"curl https://api.darhimlabs.pl/api/v2/{path} \\\n  -H \"Authorization: Bearer $DARHIMLABS_API_KEY\"\n"},{"lang":"Node.js","source":"import { DarhimLabs } from \"@darhimlabs/node\";\nconst client = new DarhimLabs(process.env.DARHIMLABS_API_KEY);\n// See the SDK docs for a typed helper for this operation.\n"},{"lang":"Python","source":"from darhimlabs import DarhimLabs\nclient = DarhimLabs(api_key=os.environ[\"DARHIMLABS_API_KEY\"])\n"},{"lang":"PHP","source":"$client = new DarhimLabs\\Client([\"api_key\" => $_ENV[\"DARHIMLABS_API_KEY\"]]);\n"},{"lang":"Ruby","source":"client = DarhimLabs::Client.new(api_key: ENV[\"DARHIMLABS_API_KEY\"])\n"}]}}}}