Charlotte
Operations for the Charlotte service collection. Also available in FalconPy as AgenticStudio.
| Language | Last Update |
|---|---|
| Python | v1.6.7 |
| PowerShell | |
| Go | v0.25.0 |
| TypeScript | v0.9.0 |
| Rust | |
| Ruby | v1.6.0 |
Table of Contents
Section titled “Table of Contents”| Operation | Description |
|---|---|
CombinedKnowledgeBaseAuditEventsV1combined_knowledge_base_audit_events_v1 | Get knowledge base audit events with full event details and pagination. |
CombinedKnowledgeBasesV1combined_knowledge_bases_v1 | Search for knowledge bases with filtering and return full entity details in a single response. |
CreateOrEditAgentExternalV3create_or_update_agent | Create or update an agent. |
DeleteAgentV1delete_agent | Delete an agent and all of its versions. |
EntitiesAgentTemplatesV1entities_agent_templates_v1 | Retrieve agent template entities for the provided IDs |
EntitiesEvalCasesV1get_eval_cases | Retrieve evaluation case entities for the provided id. |
EntitiesEvalDatasetEntriesCreateV1create_eval_dataset_entry | Create a new evaluation dataset entry. |
EntitiesEvalDatasetEntriesDeleteV1delete_eval_dataset_entry | Delete an evaluation dataset entry. |
EntitiesEvalDatasetEntriesUpdateV1update_eval_dataset_entry | Update an existing evaluation dataset entry. |
EntitiesEvalDatasetEntriesV1get_eval_dataset_entries | Retrieve evaluation dataset entry entities for the provided id. |
EntitiesEvalDatasetsCreateV1create_eval_dataset | Create or update an evaluation dataset. |
EntitiesEvalDatasetsDeleteV1delete_eval_dataset | Delete an evaluation dataset by ID. |
EntitiesEvalDatasetsDownloadV1download_eval_dataset | Download all entries of an evaluation dataset as CSV. |
EntitiesEvalDatasetsUpdateV1update_eval_dataset | Update an existing evaluation dataset. |
EntitiesEvalDatasetsV1get_eval_datasets | Retrieve evaluation dataset entities for the provided id. |
EntitiesEvalEvaluatorsCreateV1create_eval_evaluator | Create or update an evaluation evaluator. |
EntitiesEvalEvaluatorsDeleteV1delete_eval_evaluator | Delete an evaluation evaluator by ID. |
EntitiesEvalEvaluatorsUpdateV1update_eval_evaluator | Update an existing evaluation evaluator. |
EntitiesEvalEvaluatorsV1get_eval_evaluators | Retrieve evaluation evaluator entities for the provided id. |
EntitiesEvalRunsActionV1perform_eval_run_action | Perform an action on an evaluation run (start or stop). |
EntitiesEvalRunsCreateV1create_eval_run | Create or update an evaluation run. |
EntitiesEvalRunsDeleteV1delete_eval_run | Delete an evaluation run by ID. |
EntitiesEvalRunsV1get_eval_runs | Retrieve evaluation run entities for the provided id. |
EntitiesKnowledgeBaseAuditEventsV1entities_knowledge_base_audit_events_v1 | Retrieve knowledge base audit event entities by their IDs. |
EntitiesKnowledgeBaseFilesCreateV1entities_knowledge_base_files_create_v1 | Upload a file to a knowledge base. |
EntitiesKnowledgeBaseFilesDeleteV1entities_knowledge_base_files_delete_v1 | Delete a knowledge base file. |
EntitiesKnowledgeBaseFilesDownloadV1entities_knowledge_base_files_download_v1 | Download knowledge base file entities for the provided id. |
EntitiesKnowledgeBaseFilesUpdateV1entities_knowledge_base_files_update_v1 | Update an existing file in a knowledge base. |
EntitiesKnowledgeBaseFilesV1entities_knowledge_base_files_v1 | Retrieve knowledge base file entities for the provided id. |
EntitiesKnowledgeBasesCreateV1entities_knowledge_bases_create_v1 | Create or update a knowledge base. |
EntitiesKnowledgeBasesUpdateV1entities_knowledge_bases_update_v1 | Update an existing knowledge base. |
EntitiesKnowledgeBasesV1entities_knowledge_bases_v1 | Retrieve knowledge base entities for the provided id. |
EntitiesModelsV1entities_models_v1 | Get Model Entities by IDs |
EntitiesSkillsCreateV1create_studio_skill | Upload a new skill as a zip archive. |
EntitiesSkillsDeleteV1delete_studio_skill | Delete a skill by its ID. |
EntitiesSkillsDownloadV2download_studio_skill | Download a single skill blob as a zip archive. |
EntitiesSkillsUpdateV1update_studio_skill | Update an existing skill with a new zip archive. |
EntitiesSkillsV1get_studio_skills | Retrieve skill entities for the provided IDs. |
EntitiesSpansV1entities_spans_v1 | Retrieve spans for the provided ids. |
EntitiesToolsV1entities_tools_v1 | Retrieve tools entities for the provided id. |
GetAgentInvocationV3get_agent_invocation_v3 | Get the messages that an invocation produced. |
GetAgentsV2get_studio_agents | Retrieve agents entities for the provided ids. |
GetAgentVersionsV1get_agent_versions_v1 | Retrieve agent version entities for the provided ids. |
InvokeAgentVersionExternalV1invoke_agent_version_external_v1 | Invoke a specific agent version by agent ID and version ID with the specified input. |
InvokePublishedAgentExternalV1invoke_published_agent_external_v1 | Invoke a published agent by ID with the specified input. |
PatchAgentExternalV3update_agent | Modifies existing agents |
PatchAgentInvocationV3update_agent_invocation | Modify an in-flight agent invocation. |
QueriesAgentTemplatesV1queries_agent_templates_v1 | Query agent template IDs with pagination |
QueriesEvalCasesV1query_eval_cases | Query evaluation cases based on the provided filters. |
QueriesEvalDatasetEntriesV1query_eval_dataset_entries | Query evaluation dataset entries based on the provided filters. |
QueriesEvalDatasetsV1query_eval_datasets | Query evaluation datasets based on the provided filters. |
QueriesEvalEvaluatorsV1query_eval_evaluators | Query evaluation evaluators based on the provided filters. |
QueriesEvalRunsV1query_eval_runs | Query evaluation runs based on the provided filters. |
QueriesKnowledgeBaseAuditEventsV1queries_knowledge_base_audit_events_v1 | Query knowledge base audit event IDs with pagination and filtering. |
QueriesKnowledgeBaseFilesV1queries_knowledge_base_files_v1 | Query knowledge base files based on the provided filters. |
QueriesKnowledgeBasesV1queries_knowledge_bases_v1 | Query knowledge bases based on the provided filters. |
QueriesModelsV1queries_models_v1 | Query models based on the provided filters. |
QueriesSkillsV1query_studio_skills | Query skills based on the provided filters. |
QueriesSpansV1queries_spans_v1 | Query spans based on the provided filters. |
QueriesToolsV1queries_tools_v1 | Query tools based on the provided filters. |
QueryAgentsV2query_studio_agents | Query agents based on the provided filters. |
QueryAgentVersionsV1query_agent_versions_v1 | Query agent versions based on the provided filters. |
StreamInvocationResponseV1stream_invocation_response_v1 | Retrieves the stream of results for an invocation |
CombinedKnowledgeBaseAuditEventsV1
Section titled “CombinedKnowledgeBaseAuditEventsV1”Get knowledge base audit events with full event details and pagination.
combined_knowledge_base_audit_events_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.combined_knowledge_base_audit_events_v1(knowledge_base_id="string", offset=integer, limit=integer, sort="string", filter="string", include_deleted=boolean, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.CombinedKnowledgeBaseAuditEventsV1(knowledge_base_id="string", offset=integer, limit=integer, sort="string", filter="string", include_deleted=boolean, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("CombinedKnowledgeBaseAuditEventsV1", knowledge_base_id="string", offset=integer, limit=integer, sort="string", filter="string", include_deleted=boolean, project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/knowledge_base_audit_events")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
offset := int64(0) limit := int64(0) sort := "string" filter := "string" includeDeleted := boolean projectID := "string"
response, err := client.KnowledgeBaseAuditEvents.CombinedKnowledgeBaseAuditEventsV1( &knowledge_base_audit_events.CombinedKnowledgeBaseAuditEventsV1Params{ KnowledgeBaseID: "string", Offset: &offset, Limit: &limit, Sort: &sort, Filter: &filter, IncludeDeleted: &includeDeleted, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.knowledgeBaseAuditEvents.combinedKnowledgeBaseAuditEventsV1( "string", // knowledgeBaseId integer, // offset integer, // limit "string", // sort "string", // filter boolean, // includeDeleted "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::KnowledgeBaseAuditEvents.new
response = api.combined_knowledge_base_audit_events_v1('string')
puts response[ { "created_at": "string", "details": {}, "entity_id": "string", "entity_type": "string", "id": "string", "operation_type": "string", "parent_id": "string", "user": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}CombinedKnowledgeBasesV1
Section titled “CombinedKnowledgeBasesV1”Search for knowledge bases with filtering and return full entity details in a single response.
combined_knowledge_bases_v1Parameters
Section titled “Parameters”Available values (3)
name | created_at | updated_at |
from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.combined_knowledge_bases_v1(offset=integer, limit=integer, sort="string", filter="string", include_deleted=boolean, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.CombinedKnowledgeBasesV1(offset=integer, limit=integer, sort="string", filter="string", include_deleted=boolean, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("CombinedKnowledgeBasesV1", offset=integer, limit=integer, sort="string", filter="string", include_deleted=boolean, project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/knowledge_bases")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
offset := int64(0) limit := int64(0) sort := "string" filter := "string" includeDeleted := boolean projectID := "string"
response, err := client.KnowledgeBases.CombinedKnowledgeBasesV1( &knowledge_bases.CombinedKnowledgeBasesV1Params{ Offset: &offset, Limit: &limit, Sort: &sort, Filter: &filter, IncludeDeleted: &includeDeleted, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.knowledgeBases.combinedKnowledgeBasesV1( integer, // offset integer, // limit "string", // sort "string", // filter boolean, // includeDeleted "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::KnowledgeBases.new
response = api.combined_knowledge_bases_v1(offset: integer, limit: integer, sort: 'string', filter: 'string', include_deleted: boolean, project_id: 'string')
puts response[ { "attribution": {}, "created_at": "string", "created_by": {}, "description": "string", "embedding_model": "string", "files_count": 0, "id": "string", "is_deleted": false, "name": "string", "project_id": "string", "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}CreateOrEditAgentExternalV3
Section titled “CreateOrEditAgentExternalV3”Create or update an agent.
create_or_update_agentParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
version_definition = { "compaction_config": { "enabled": True, "threshold": 0.0 }, "description": "string", "input_format": { "format": "string", "json_schema": "string", "usage_instructions": "string" }, "knowledge_base_ids": [ "string" ], "model": "string", "model_config": { "enable_reasoning": True, "frequency_penalty": 0.0, "max_tokens": 0, "reasoning_effort": "string", "temperature": 0.0, "top_k": 0, "top_p": 0.0 }, "name": "string", "output_format": { "format": "string", "json_schema": "string", "usage_instructions": "string" }, "parent_version_ids": [ "string" ], "skill_ids": [ "string" ], "system_prompt": "string", "targeting_config": { "agent_to_agent": True, "apigw": True, "charlotte_ai": True, "fusion_workflows": True }, "tools": [ { "description_override": "string", "id": "string", "meta": "string", "name": "string", "name_override": "string", "parameter_overrides": "string", "type": "string" } ]}
response = falcon.create_or_update_agent(duplicate_from_agent_id="string", id="string", project_id="string", template_id="string", version_definition=version_definition, wait_for_ready=boolean)print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
version_definition = { "compaction_config": { "enabled": True, "threshold": 0.0 }, "description": "string", "input_format": { "format": "string", "json_schema": "string", "usage_instructions": "string" }, "knowledge_base_ids": [ "string" ], "model": "string", "model_config": { "enable_reasoning": True, "frequency_penalty": 0.0, "max_tokens": 0, "reasoning_effort": "string", "temperature": 0.0, "top_k": 0, "top_p": 0.0 }, "name": "string", "output_format": { "format": "string", "json_schema": "string", "usage_instructions": "string" }, "parent_version_ids": [ "string" ], "skill_ids": [ "string" ], "system_prompt": "string", "targeting_config": { "agent_to_agent": True, "apigw": True, "charlotte_ai": True, "fusion_workflows": True }, "tools": [ { "description_override": "string", "id": "string", "meta": "string", "name": "string", "name_override": "string", "parameter_overrides": "string", "type": "string" } ]}
response = falcon.CreateOrEditAgentExternalV3(duplicate_from_agent_id="string", id="string", project_id="string", template_id="string", version_definition=version_definition, wait_for_ready=boolean)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "duplicate_from_agent_id": "string", "id": "string", "project_id": "string", "template_id": "string", "version_definition": { "compaction_config": { "enabled": boolean, "threshold": integer }, "description": "string", "input_format": { "format": "string", "json_schema": "string", "usage_instructions": "string" }, "knowledge_base_ids": ["string"], "model": "string", "model_config": { "enable_reasoning": boolean, "frequency_penalty": integer, "max_tokens": integer, "reasoning_effort": "string", "temperature": integer, "top_k": integer, "top_p": integer }, "name": "string", "output_format": { "format": "string", "json_schema": "string", "usage_instructions": "string" }, "parent_version_ids": ["string"], "skill_ids": ["string"], "system_prompt": "string", "targeting_config": { "agent_to_agent": boolean, "charlotte_ai": boolean, "fusion_workflows": boolean }, "tools": [ { "description_override": "string", "id": "string", "meta": {}, "name": "string", "name_override": "string", "parameter_overrides": {}, "type": "string" } ] }}
response = falcon.command("CreateOrEditAgentExternalV3", wait_for_ready=boolean, body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/agents" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
waitForReady := boolean description := "string" model := "string" name := "string" systemPrompt := "string"
response, createoreditagentexternalv3accepted, err := client.Agents.CreateOrEditAgentExternalV3( &agents.CreateOrEditAgentExternalV3Params{ Body: &models.APICreateOrEditAgentRequest{ DuplicateFromAgentID: "string", ID: "string", ProjectID: "string", TemplateID: "string", VersionDefinition: &models.APIAgentVersionDefinitionRequest{ CompactionConfig: &models.APICompactionConfig{}, Description: &description, InputFormat: &models.APIAgentInputFormat{}, KnowledgeBaseIds: []string{"string"}, Model: &model, ModelConfig: &models.APIAgentModelConfig{}, Name: &name, OutputFormat: &models.APIAgentOutputFormat{}, ParentVersionIds: []string{"string"}, SkillIds: []string{"string"}, SystemPrompt: &systemPrompt, TargetingConfig: &models.APIAgentTargetingConfig{}, Tools: []*models.APIAgentTool{}, }, }, WaitForReady: &waitForReady, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload) fmt.Printf("%+v\n", createoreditagentexternalv3accepted.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.agents.createOrEditAgentExternalV3( { // body duplicateFromAgentId: "string", id: "string", projectId: "string", templateId: "string", versionDefinition: { compactionConfig: { enabled: boolean, threshold: integer }, description: "string", inputFormat: { format: "string", jsonSchema: "string", usageInstructions: "string" }, knowledgeBaseIds: [], model: "string", modelConfig: { enableReasoning: boolean, frequencyPenalty: integer, maxTokens: integer, reasoningEffort: "string", temperature: integer, topK: integer, topP: integer }, name: "string", outputFormat: { format: "string", jsonSchema: "string", usageInstructions: "string" }, parentVersionIds: [], skillIds: [], systemPrompt: "string", targetingConfig: { agentToAgent: boolean, apigw: boolean, charlotteAi: boolean, fusionWorkflows: boolean }, tools: [{ descriptionOverride: "string", id: "string", meta: {}, name: "string", nameOverride: "string", parameterOverrides: {}, type: "string" }] } }, boolean // waitForReady);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Agents.new
body = Falcon::ApiCreateOrEditAgentRequest.new( duplicate_from_agent_id: 'string', id: 'string', project_id: 'string', template_id: 'string', version_definition: { compaction_config: { enabled: boolean, threshold: integer }, description: 'string', input_format: { format: 'string', json_schema: 'string', usage_instructions: 'string' }, knowledge_base_ids: [], model: 'string', model_config: { enable_reasoning: boolean, frequency_penalty: integer, max_tokens: integer, reasoning_effort: 'string', temperature: integer, top_k: integer, top_p: integer }, name: 'string', output_format: { format: 'string', json_schema: 'string', usage_instructions: 'string' }, parent_version_ids: [], skill_ids: [], system_prompt: 'string', targeting_config: { agent_to_agent: boolean, charlotte_ai: boolean, fusion_workflows: boolean }, tools: [{ description_override: 'string', id: 'string', meta: {}, name: 'string', name_override: 'string', parameter_overrides: {}, type: 'string' }] })
response = api.create_or_edit_agent_external_v3(body)
puts response- 200 Successfully created/updated. The new version has finished registration or the request didn't ask to wait for the confirmation of the registration.
- 202 Accepted; registration was still in progress when the wait expired. Only returned when wait_for_ready is true.
- 400 Bad Request
- 401 Unauthorized
- 403 Forbidden
- 404 Not Found
- 429 Too Many Requests
- 500 Internal Server Error
[ { "agent": {}, "agent_version": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }, "resources": [ { "agent": {}, "agent_version": {} } ]}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}DeleteAgentV1
Section titled “DeleteAgentV1”Delete an agent and all of its versions.
delete_agentParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.delete_agent(id=id_list, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.DeleteAgentV1(id=id_list, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("DeleteAgentV1", id="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/agents")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.Agents.DeleteAgentV1( &agents.DeleteAgentV1Params{ ID: "string", ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.agents.deleteAgentV1( "string", // id "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Agents.new
response = api.delete_agent_v1('string')
puts response[ { "active_version": {}, "attribution": {}, "cid": "string", "created_at": "string", "created_by": {}, "duplicate_from_agent_id": "string", "id": "string", "is_deleted": false, "is_in_sync": false, "project_id": "string", "published_version_ids": [], "tags": [], "template_id": "string", "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesAgentTemplatesV1
Section titled “EntitiesAgentTemplatesV1”Retrieve agent template entities for the provided IDs
entities_agent_templates_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_agent_templates_v1(ids=id_list)print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.EntitiesAgentTemplatesV1(ids=id_list)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("EntitiesAgentTemplatesV1", ids=id_list)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/agent_templates")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
response, err := client.AgentTemplates.EntitiesAgentTemplatesV1( &agent_templates.EntitiesAgentTemplatesV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.agentTemplates.entitiesAgentTemplatesV1(["ID1", "ID2", "ID3"]); // ids
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::AgentTemplates.new
response = api.entities_agent_templates_v1(['ID1', 'ID2', 'ID3'])
puts response[ { "author": "string", "created_at": "string", "description": "string", "documentation": "string", "id": "string", "model": "string", "name": "string", "products": [], "targeting": [], "tools": [], "updated_at": "string", "use_cases": [], "vendors": [], "version": "string", "version_definition": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesEvalCasesV1
Section titled “EntitiesEvalCasesV1”Retrieve evaluation case entities for the provided id.
get_eval_casesParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_eval_cases(ids=id_list, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.EntitiesEvalCasesV1(ids=id_list, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("EntitiesEvalCasesV1", ids=id_list, project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_cases")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.EvalCases.EntitiesEvalCasesV1( &eval_cases.EntitiesEvalCasesV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalCases.entitiesEvalCasesV1( ["ID1", "ID2", "ID3"], // ids "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalCases.new
response = api.entities_eval_cases_v1(['ID1', 'ID2', 'ID3'])
puts response[ { "agent_id": "string", "agent_version_id": "string", "created_at": "string", "dataset_entry_data": {}, "dataset_entry_id": "string", "error": {}, "evaluation_time": 0, "evaluator_id": "string", "execution_time": 0, "id": "string", "invocation_id": "string", "judge_invocation_id": "string", "justification": "string", "owner": "string", "passed": false, "run_id": "string", "score": 0.0, "status": "string", "tokens_used": {}, "trace_id": "string", "updated_at": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesEvalDatasetEntriesCreateV1
Section titled “EntitiesEvalDatasetEntriesCreateV1”Create a new evaluation dataset entry.
create_eval_dataset_entryParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
created_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
data = "string"
metadata = "string"
updated_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
response = falcon.create_eval_dataset_entry(created_at="string", created_by=created_by, data=data, dataset_id="string", description="string", id="string", is_deleted=boolean, metadata=metadata, name="string", owner="string", project_id="string", tags=["string"], updated_at="string", updated_by=updated_by)print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
created_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
data = "string"
metadata = "string"
updated_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
response = falcon.EntitiesEvalDatasetEntriesCreateV1(created_at="string", created_by=created_by, data=data, dataset_id="string", description="string", id="string", is_deleted=boolean, metadata=metadata, name="string", owner="string", project_id="string", tags=["string"], updated_at="string", updated_by=updated_by)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "created_at": "string", "created_by": { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": ["string"], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string" }, "data": {}, "dataset_id": "string", "description": "string", "id": "string", "is_deleted": boolean, "metadata": {}, "name": "string", "owner": "string", "project_id": "string", "tags": ["string"], "updated_at": "string", "updated_by": { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": ["string"], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string" }}
response = falcon.command("EntitiesEvalDatasetEntriesCreateV1", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_dataset_entries" "github.com/go-openapi/strfmt" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
createdAt := strfmt.DateTime{} datasetID := "string" description := "string" id := "string" isDeleted := boolean name := "string" owner := "string" updatedAt := strfmt.DateTime{}
response, err := client.EvalDatasetEntries.EntitiesEvalDatasetEntriesCreateV1( &eval_dataset_entries.EntitiesEvalDatasetEntriesCreateV1Params{ Body: &models.DomainDatasetEntry{ CreatedAt: &createdAt, CreatedBy: &models.DomainUser{ AccessGrantedAt: strfmt.DateTime{}, Cid: "string", CreatedAt: strfmt.DateTime{}, Factors: []string{"string"}, FirstName: "string", LastLoginAt: strfmt.DateTime{}, LastName: "string", Status: "string", UID: "string", UpdatedAt: strfmt.DateTime{}, UserType: "string", UUID: "string", }, Data: map[string]string{}, DatasetID: &datasetID, Description: &description, ID: &id, IsDeleted: &isDeleted, Metadata: map[string]string{}, Name: &name, Owner: &owner, ProjectID: "string", Tags: []string{"string"}, UpdatedAt: &updatedAt, UpdatedBy: &models.DomainUser{ AccessGrantedAt: strfmt.DateTime{}, Cid: "string", CreatedAt: strfmt.DateTime{}, Factors: []string{"string"}, FirstName: "string", LastLoginAt: strfmt.DateTime{}, LastName: "string", Status: "string", UID: "string", UpdatedAt: strfmt.DateTime{}, UserType: "string", UUID: "string", }, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalDatasetEntries.entitiesEvalDatasetEntriesCreateV1( { createdAt: new Date(), createdBy: { accessGrantedAt: new Date(), cid: "string", createdAt: new Date(), factors: [], firstName: "string", lastLoginAt: new Date(), lastName: "string", status: "string", uid: "string", updatedAt: new Date(), userType: "string", uuid: "string" }, data: {}, datasetId: "string", description: "string", id: "string", isDeleted: boolean, metadata: {}, name: "string", owner: "string", projectId: "string", tags: [], updatedAt: new Date(), updatedBy: { accessGrantedAt: new Date(), cid: "string", createdAt: new Date(), factors: [], firstName: "string", lastLoginAt: new Date(), lastName: "string", status: "string", uid: "string", updatedAt: new Date(), userType: "string", uuid: "string" }} // body);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalDatasetEntries.new
body = Falcon::DomainDatasetEntry.new( created_at: 'string', created_by: { access_granted_at: 'string', cid: 'string', created_at: 'string', factors: [], first_name: 'string', last_login_at: 'string', last_name: 'string', status: 'string', uid: 'string', updated_at: 'string', user_type: 'string', uuid: 'string' }, data: {}, dataset_id: 'string', description: 'string', id: 'string', is_deleted: boolean, metadata: {}, name: 'string', owner: 'string', project_id: 'string', tags: [], updated_at: 'string', updated_by: { access_granted_at: 'string', cid: 'string', created_at: 'string', factors: [], first_name: 'string', last_login_at: 'string', last_name: 'string', status: 'string', uid: 'string', updated_at: 'string', user_type: 'string', uuid: 'string' })
response = api.entities_eval_dataset_entries_create_v1(body)
puts response[ { "created_at": "string", "created_by": {}, "data": {}, "dataset_id": "string", "description": "string", "id": "string", "is_deleted": false, "metadata": {}, "name": "string", "owner": "string", "project_id": "string", "tags": [], "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesEvalDatasetEntriesDeleteV1
Section titled “EntitiesEvalDatasetEntriesDeleteV1”Delete an evaluation dataset entry.
delete_eval_dataset_entryParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.delete_eval_dataset_entry(id="string", project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.EntitiesEvalDatasetEntriesDeleteV1(id="string", project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("EntitiesEvalDatasetEntriesDeleteV1", id="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_dataset_entries")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.EvalDatasetEntries.EntitiesEvalDatasetEntriesDeleteV1( &eval_dataset_entries.EntitiesEvalDatasetEntriesDeleteV1Params{ ID: "string", ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalDatasetEntries.entitiesEvalDatasetEntriesDeleteV1( "string", // id "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalDatasetEntries.new
response = api.entities_eval_dataset_entries_delete_v1('string')
puts response{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesEvalDatasetEntriesUpdateV1
Section titled “EntitiesEvalDatasetEntriesUpdateV1”Update an existing evaluation dataset entry.
update_eval_dataset_entryParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
created_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
data = "string"
metadata = "string"
updated_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
response = falcon.update_eval_dataset_entry(created_at="string", created_by=created_by, data=data, dataset_id="string", description="string", id="string", is_deleted=boolean, metadata=metadata, name="string", owner="string", project_id="string", tags=["string"], updated_at="string", updated_by=updated_by)print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
created_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
data = "string"
metadata = "string"
updated_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
response = falcon.EntitiesEvalDatasetEntriesUpdateV1(created_at="string", created_by=created_by, data=data, dataset_id="string", description="string", id="string", is_deleted=boolean, metadata=metadata, name="string", owner="string", project_id="string", tags=["string"], updated_at="string", updated_by=updated_by)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "created_at": "string", "created_by": { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": ["string"], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string" }, "data": {}, "dataset_id": "string", "description": "string", "id": "string", "is_deleted": boolean, "metadata": {}, "name": "string", "owner": "string", "project_id": "string", "tags": ["string"], "updated_at": "string", "updated_by": { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": ["string"], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string" }}
response = falcon.command("EntitiesEvalDatasetEntriesUpdateV1", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_dataset_entries" "github.com/go-openapi/strfmt" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
createdAt := strfmt.DateTime{} datasetID := "string" description := "string" id := "string" isDeleted := boolean name := "string" owner := "string" updatedAt := strfmt.DateTime{}
response, err := client.EvalDatasetEntries.EntitiesEvalDatasetEntriesUpdateV1( &eval_dataset_entries.EntitiesEvalDatasetEntriesUpdateV1Params{ Body: &models.DomainDatasetEntry{ CreatedAt: &createdAt, CreatedBy: &models.DomainUser{ AccessGrantedAt: strfmt.DateTime{}, Cid: "string", CreatedAt: strfmt.DateTime{}, Factors: []string{"string"}, FirstName: "string", LastLoginAt: strfmt.DateTime{}, LastName: "string", Status: "string", UID: "string", UpdatedAt: strfmt.DateTime{}, UserType: "string", UUID: "string", }, Data: map[string]string{}, DatasetID: &datasetID, Description: &description, ID: &id, IsDeleted: &isDeleted, Metadata: map[string]string{}, Name: &name, Owner: &owner, ProjectID: "string", Tags: []string{"string"}, UpdatedAt: &updatedAt, UpdatedBy: &models.DomainUser{ AccessGrantedAt: strfmt.DateTime{}, Cid: "string", CreatedAt: strfmt.DateTime{}, Factors: []string{"string"}, FirstName: "string", LastLoginAt: strfmt.DateTime{}, LastName: "string", Status: "string", UID: "string", UpdatedAt: strfmt.DateTime{}, UserType: "string", UUID: "string", }, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalDatasetEntries.entitiesEvalDatasetEntriesUpdateV1( { createdAt: new Date(), createdBy: { accessGrantedAt: new Date(), cid: "string", createdAt: new Date(), factors: [], firstName: "string", lastLoginAt: new Date(), lastName: "string", status: "string", uid: "string", updatedAt: new Date(), userType: "string", uuid: "string" }, data: {}, datasetId: "string", description: "string", id: "string", isDeleted: boolean, metadata: {}, name: "string", owner: "string", projectId: "string", tags: [], updatedAt: new Date(), updatedBy: { accessGrantedAt: new Date(), cid: "string", createdAt: new Date(), factors: [], firstName: "string", lastLoginAt: new Date(), lastName: "string", status: "string", uid: "string", updatedAt: new Date(), userType: "string", uuid: "string" }} // body);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalDatasetEntries.new
body = Falcon::DomainDatasetEntry.new( created_at: 'string', created_by: { access_granted_at: 'string', cid: 'string', created_at: 'string', factors: [], first_name: 'string', last_login_at: 'string', last_name: 'string', status: 'string', uid: 'string', updated_at: 'string', user_type: 'string', uuid: 'string' }, data: {}, dataset_id: 'string', description: 'string', id: 'string', is_deleted: boolean, metadata: {}, name: 'string', owner: 'string', project_id: 'string', tags: [], updated_at: 'string', updated_by: { access_granted_at: 'string', cid: 'string', created_at: 'string', factors: [], first_name: 'string', last_login_at: 'string', last_name: 'string', status: 'string', uid: 'string', updated_at: 'string', user_type: 'string', uuid: 'string' })
response = api.entities_eval_dataset_entries_update_v1(body)
puts response[ { "created_at": "string", "created_by": {}, "data": {}, "dataset_id": "string", "description": "string", "id": "string", "is_deleted": false, "metadata": {}, "name": "string", "owner": "string", "project_id": "string", "tags": [], "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesEvalDatasetEntriesV1
Section titled “EntitiesEvalDatasetEntriesV1”Retrieve evaluation dataset entry entities for the provided id.
get_eval_dataset_entriesParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_eval_dataset_entries(ids=id_list, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.EntitiesEvalDatasetEntriesV1(ids=id_list, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("EntitiesEvalDatasetEntriesV1", ids=id_list, project_id="string", include_deleted=boolean)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_dataset_entries")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.EvalDatasetEntries.EntitiesEvalDatasetEntriesV1( &eval_dataset_entries.EntitiesEvalDatasetEntriesV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalDatasetEntries.entitiesEvalDatasetEntriesV1( ["ID1", "ID2", "ID3"], // ids "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalDatasetEntries.new
response = api.entities_eval_dataset_entries_v1(['ID1', 'ID2', 'ID3'])
puts response[ { "created_at": "string", "created_by": {}, "data": {}, "dataset_id": "string", "description": "string", "id": "string", "is_deleted": false, "metadata": {}, "name": "string", "owner": "string", "project_id": "string", "tags": [], "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesEvalDatasetsCreateV1
Section titled “EntitiesEvalDatasetsCreateV1”Create or update an evaluation dataset.
create_eval_datasetParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
metadata = "string"
response = falcon.create_eval_dataset(agent_ids=["string"], description="string", id="string", metadata=metadata, name="string", project_id="string", tags=["string"])print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
metadata = "string"
response = falcon.EntitiesEvalDatasetsCreateV1(agent_ids=["string"], description="string", id="string", metadata=metadata, name="string", project_id="string", tags=["string"])print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "agent_ids": ["string"], "description": "string", "id": "string", "metadata": {}, "name": "string", "project_id": "string", "tags": ["string"]}
response = falcon.command("EntitiesEvalDatasetsCreateV1", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_datasets" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
description := "string" id := "string" name := "string"
response, err := client.EvalDatasets.EntitiesEvalDatasetsCreateV1( &eval_datasets.EntitiesEvalDatasetsCreateV1Params{ Body: &models.DomainCreateUpdateDatasetParams{ AgentIds: []string{"string"}, Description: &description, ID: &id, Metadata: map[string]string{}, Name: &name, ProjectID: "string", Tags: []string{"string"}, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalDatasets.entitiesEvalDatasetsCreateV1( { agentIds: [], description: "string", id: "string", metadata: {}, name: "string", projectId: "string", tags: []} // body);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalDatasets.new
body = Falcon::DomainCreateUpdateDatasetParams.new( agent_ids: [], description: 'string', id: 'string', metadata: {}, name: 'string', project_id: 'string', tags: [])
response = api.entities_eval_datasets_create_v1(body)
puts response[ { "agent_ids": [], "created_at": "string", "created_by": {}, "default_prompt_template": "string", "description": "string", "entryschema": "string", "id": "string", "is_deleted": false, "metadata": {}, "name": "string", "owner": "string", "project_id": "string", "tags": [], "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesEvalDatasetsDeleteV1
Section titled “EntitiesEvalDatasetsDeleteV1”Delete an evaluation dataset by ID.
delete_eval_datasetParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.delete_eval_dataset(id="string", project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.EntitiesEvalDatasetsDeleteV1(id="string", project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("EntitiesEvalDatasetsDeleteV1", id="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_datasets")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.EvalDatasets.EntitiesEvalDatasetsDeleteV1( &eval_datasets.EntitiesEvalDatasetsDeleteV1Params{ ID: "string", ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalDatasets.entitiesEvalDatasetsDeleteV1( "string", // id "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalDatasets.new
response = api.entities_eval_datasets_delete_v1('string')
puts response{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesEvalDatasetsDownloadV1
Section titled “EntitiesEvalDatasetsDownloadV1”Download all entries of an evaluation dataset as CSV.
download_eval_datasetParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
with open("output_file", "wb") as save_file: response = falcon.download_eval_dataset(id="string", project_id="string", stream=boolean) save_file.write(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
with open("output_file", "wb") as save_file: response = falcon.EntitiesEvalDatasetsDownloadV1(id="string", project_id="string", stream=boolean) save_file.write(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
with open("output_file", "wb") as save_file: response = falcon.command("EntitiesEvalDatasetsDownloadV1", id="string", project_id="string") save_file.write(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_datasets")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.EvalDatasets.EntitiesEvalDatasetsDownloadV1( &eval_datasets.EntitiesEvalDatasetsDownloadV1Params{ ID: "string", ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalDatasets.entitiesEvalDatasetsDownloadV1( "string", // id "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalDatasets.new
response = api.entities_eval_datasets_download_v1('string')
puts response{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesEvalDatasetsUpdateV1
Section titled “EntitiesEvalDatasetsUpdateV1”Update an existing evaluation dataset.
update_eval_datasetParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
created_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
metadata = "string"
updated_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
response = falcon.update_eval_dataset(agent_ids=["string"], created_at="string", created_by=created_by, default_prompt_template="string", description="string", entryschema="string", id="string", is_deleted=boolean, metadata=metadata, name="string", owner="string", project_id="string", tags=["string"], updated_at="string", updated_by=updated_by)print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
created_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
metadata = "string"
updated_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
response = falcon.EntitiesEvalDatasetsUpdateV1(agent_ids=["string"], created_at="string", created_by=created_by, default_prompt_template="string", description="string", entryschema="string", id="string", is_deleted=boolean, metadata=metadata, name="string", owner="string", project_id="string", tags=["string"], updated_at="string", updated_by=updated_by)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "agent_ids": ["string"], "created_at": "string", "created_by": { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": ["string"], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string" }, "default_prompt_template": "string", "description": "string", "entryschema": "string", "id": "string", "is_deleted": boolean, "metadata": {}, "name": "string", "owner": "string", "project_id": "string", "tags": ["string"], "updated_at": "string", "updated_by": { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": ["string"], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string" }}
response = falcon.command("EntitiesEvalDatasetsUpdateV1", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_datasets" "github.com/go-openapi/strfmt" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
createdAt := strfmt.DateTime{} defaultPromptTemplate := "string" description := "string" entryschema := "string" id := "string" isDeleted := boolean name := "string" owner := "string" updatedAt := strfmt.DateTime{}
response, err := client.EvalDatasets.EntitiesEvalDatasetsUpdateV1( &eval_datasets.EntitiesEvalDatasetsUpdateV1Params{ Body: &models.DomainDataset{ AgentIds: []string{"string"}, CreatedAt: &createdAt, CreatedBy: &models.DomainUser{ AccessGrantedAt: strfmt.DateTime{}, Cid: "string", CreatedAt: strfmt.DateTime{}, Factors: []string{"string"}, FirstName: "string", LastLoginAt: strfmt.DateTime{}, LastName: "string", Status: "string", UID: "string", UpdatedAt: strfmt.DateTime{}, UserType: "string", UUID: "string", }, DefaultPromptTemplate: &defaultPromptTemplate, Description: &description, Entryschema: &entryschema, ID: &id, IsDeleted: &isDeleted, Metadata: map[string]string{}, Name: &name, Owner: &owner, ProjectID: "string", Tags: []string{"string"}, UpdatedAt: &updatedAt, UpdatedBy: &models.DomainUser{ AccessGrantedAt: strfmt.DateTime{}, Cid: "string", CreatedAt: strfmt.DateTime{}, Factors: []string{"string"}, FirstName: "string", LastLoginAt: strfmt.DateTime{}, LastName: "string", Status: "string", UID: "string", UpdatedAt: strfmt.DateTime{}, UserType: "string", UUID: "string", }, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalDatasets.entitiesEvalDatasetsUpdateV1( { agentIds: [], createdAt: new Date(), createdBy: { accessGrantedAt: new Date(), cid: "string", createdAt: new Date(), factors: [], firstName: "string", lastLoginAt: new Date(), lastName: "string", status: "string", uid: "string", updatedAt: new Date(), userType: "string", uuid: "string" }, defaultPromptTemplate: "string", description: "string", entryschema: "string", id: "string", isDeleted: boolean, metadata: {}, name: "string", owner: "string", projectId: "string", tags: [], updatedAt: new Date(), updatedBy: { accessGrantedAt: new Date(), cid: "string", createdAt: new Date(), factors: [], firstName: "string", lastLoginAt: new Date(), lastName: "string", status: "string", uid: "string", updatedAt: new Date(), userType: "string", uuid: "string" }} // body);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalDatasets.new
body = Falcon::DomainDataset.new( agent_ids: [], created_at: 'string', created_by: { access_granted_at: 'string', cid: 'string', created_at: 'string', factors: [], first_name: 'string', last_login_at: 'string', last_name: 'string', status: 'string', uid: 'string', updated_at: 'string', user_type: 'string', uuid: 'string' }, default_prompt_template: 'string', description: 'string', entryschema: 'string', id: 'string', is_deleted: boolean, metadata: {}, name: 'string', owner: 'string', project_id: 'string', tags: [], updated_at: 'string', updated_by: { access_granted_at: 'string', cid: 'string', created_at: 'string', factors: [], first_name: 'string', last_login_at: 'string', last_name: 'string', status: 'string', uid: 'string', updated_at: 'string', user_type: 'string', uuid: 'string' })
response = api.entities_eval_datasets_update_v1(body)
puts response[ { "agent_ids": [], "created_at": "string", "created_by": {}, "default_prompt_template": "string", "description": "string", "entryschema": "string", "id": "string", "is_deleted": false, "metadata": {}, "name": "string", "owner": "string", "project_id": "string", "tags": [], "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesEvalDatasetsV1
Section titled “EntitiesEvalDatasetsV1”Retrieve evaluation dataset entities for the provided id.
get_eval_datasetsParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_eval_datasets(ids=id_list, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.EntitiesEvalDatasetsV1(ids=id_list, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("EntitiesEvalDatasetsV1", ids=id_list, project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_datasets")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.EvalDatasets.EntitiesEvalDatasetsV1( &eval_datasets.EntitiesEvalDatasetsV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalDatasets.entitiesEvalDatasetsV1( ["ID1", "ID2", "ID3"], // ids "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalDatasets.new
response = api.entities_eval_datasets_v1(['ID1', 'ID2', 'ID3'])
puts response[ { "agent_ids": [], "created_at": "string", "created_by": {}, "default_prompt_template": "string", "description": "string", "entryschema": "string", "id": "string", "is_deleted": false, "metadata": {}, "name": "string", "owner": "string", "project_id": "string", "tags": [], "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesEvalEvaluatorsCreateV1
Section titled “EntitiesEvalEvaluatorsCreateV1”Create or update an evaluation evaluator.
create_eval_evaluatorParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
created_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
metadata = "string"
updated_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
response = falcon.create_eval_evaluator(agent_ids=["string"], config="string", created_at="string", created_by=created_by, description="string", evaluator_type="string", id="string", is_deleted=boolean, metadata=metadata, name="string", owner="string", project_id="string", tags=["string"], updated_at="string", updated_by=updated_by)print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
created_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
metadata = "string"
updated_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
response = falcon.EntitiesEvalEvaluatorsCreateV1(agent_ids=["string"], config="string", created_at="string", created_by=created_by, description="string", evaluator_type="string", id="string", is_deleted=boolean, metadata=metadata, name="string", owner="string", project_id="string", tags=["string"], updated_at="string", updated_by=updated_by)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "agent_ids": ["string"], "config": "string", "created_at": "string", "created_by": { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": ["string"], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string" }, "description": "string", "evaluator_type": "string", "id": "string", "is_deleted": boolean, "metadata": {}, "name": "string", "owner": "string", "project_id": "string", "tags": ["string"], "updated_at": "string", "updated_by": { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": ["string"], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string" }}
response = falcon.command("EntitiesEvalEvaluatorsCreateV1", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_evaluators" "github.com/go-openapi/strfmt" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
config := "string" createdAt := strfmt.DateTime{} description := "string" evaluatorType := "string" id := "string" isDeleted := boolean name := "string" owner := "string" updatedAt := strfmt.DateTime{}
response, err := client.EvalEvaluators.EntitiesEvalEvaluatorsCreateV1( &eval_evaluators.EntitiesEvalEvaluatorsCreateV1Params{ Body: &models.DomainEvaluator{ AgentIds: []string{"string"}, Config: &config, CreatedAt: &createdAt, CreatedBy: &models.DomainUser{ AccessGrantedAt: strfmt.DateTime{}, Cid: "string", CreatedAt: strfmt.DateTime{}, Factors: []string{"string"}, FirstName: "string", LastLoginAt: strfmt.DateTime{}, LastName: "string", Status: "string", UID: "string", UpdatedAt: strfmt.DateTime{}, UserType: "string", UUID: "string", }, Description: &description, EvaluatorType: &evaluatorType, ID: &id, IsDeleted: &isDeleted, Metadata: map[string]string{}, Name: &name, Owner: &owner, ProjectID: "string", Tags: []string{"string"}, UpdatedAt: &updatedAt, UpdatedBy: &models.DomainUser{ AccessGrantedAt: strfmt.DateTime{}, Cid: "string", CreatedAt: strfmt.DateTime{}, Factors: []string{"string"}, FirstName: "string", LastLoginAt: strfmt.DateTime{}, LastName: "string", Status: "string", UID: "string", UpdatedAt: strfmt.DateTime{}, UserType: "string", UUID: "string", }, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalEvaluators.entitiesEvalEvaluatorsCreateV1( { agentIds: [], config: "string", createdAt: new Date(), createdBy: { accessGrantedAt: new Date(), cid: "string", createdAt: new Date(), factors: [], firstName: "string", lastLoginAt: new Date(), lastName: "string", status: "string", uid: "string", updatedAt: new Date(), userType: "string", uuid: "string" }, description: "string", evaluatorType: "string", id: "string", isDeleted: boolean, metadata: {}, name: "string", owner: "string", projectId: "string", tags: [], updatedAt: new Date(), updatedBy: { accessGrantedAt: new Date(), cid: "string", createdAt: new Date(), factors: [], firstName: "string", lastLoginAt: new Date(), lastName: "string", status: "string", uid: "string", updatedAt: new Date(), userType: "string", uuid: "string" }} // body);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalEvaluators.new
body = Falcon::DomainEvaluator.new( agent_ids: [], config: 'string', created_at: 'string', created_by: { access_granted_at: 'string', cid: 'string', created_at: 'string', factors: [], first_name: 'string', last_login_at: 'string', last_name: 'string', status: 'string', uid: 'string', updated_at: 'string', user_type: 'string', uuid: 'string' }, description: 'string', evaluator_type: 'string', id: 'string', is_deleted: boolean, metadata: {}, name: 'string', owner: 'string', project_id: 'string', tags: [], updated_at: 'string', updated_by: { access_granted_at: 'string', cid: 'string', created_at: 'string', factors: [], first_name: 'string', last_login_at: 'string', last_name: 'string', status: 'string', uid: 'string', updated_at: 'string', user_type: 'string', uuid: 'string' })
response = api.entities_eval_evaluators_create_v1(body)
puts response[ { "agent_ids": [], "config": "string", "created_at": "string", "created_by": {}, "description": "string", "evaluator_type": "string", "id": "string", "is_deleted": false, "metadata": {}, "name": "string", "owner": "string", "project_id": "string", "tags": [], "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesEvalEvaluatorsDeleteV1
Section titled “EntitiesEvalEvaluatorsDeleteV1”Delete an evaluation evaluator by ID.
delete_eval_evaluatorParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.delete_eval_evaluator(id="string", project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.EntitiesEvalEvaluatorsDeleteV1(id="string", project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("EntitiesEvalEvaluatorsDeleteV1", id="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_evaluators")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.EvalEvaluators.EntitiesEvalEvaluatorsDeleteV1( &eval_evaluators.EntitiesEvalEvaluatorsDeleteV1Params{ ID: "string", ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalEvaluators.entitiesEvalEvaluatorsDeleteV1( "string", // id "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalEvaluators.new
response = api.entities_eval_evaluators_delete_v1('string')
puts response{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesEvalEvaluatorsUpdateV1
Section titled “EntitiesEvalEvaluatorsUpdateV1”Update an existing evaluation evaluator.
update_eval_evaluatorParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
created_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
metadata = "string"
updated_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
response = falcon.update_eval_evaluator(agent_ids=["string"], config="string", created_at="string", created_by=created_by, description="string", evaluator_type="string", id="string", is_deleted=boolean, metadata=metadata, name="string", owner="string", project_id="string", tags=["string"], updated_at="string", updated_by=updated_by)print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
created_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
metadata = "string"
updated_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
response = falcon.EntitiesEvalEvaluatorsUpdateV1(agent_ids=["string"], config="string", created_at="string", created_by=created_by, description="string", evaluator_type="string", id="string", is_deleted=boolean, metadata=metadata, name="string", owner="string", project_id="string", tags=["string"], updated_at="string", updated_by=updated_by)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "agent_ids": ["string"], "config": "string", "created_at": "string", "created_by": { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": ["string"], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string" }, "description": "string", "evaluator_type": "string", "id": "string", "is_deleted": boolean, "metadata": {}, "name": "string", "owner": "string", "project_id": "string", "tags": ["string"], "updated_at": "string", "updated_by": { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": ["string"], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string" }}
response = falcon.command("EntitiesEvalEvaluatorsUpdateV1", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_evaluators" "github.com/go-openapi/strfmt" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
config := "string" createdAt := strfmt.DateTime{} description := "string" evaluatorType := "string" id := "string" isDeleted := boolean name := "string" owner := "string" updatedAt := strfmt.DateTime{}
response, err := client.EvalEvaluators.EntitiesEvalEvaluatorsUpdateV1( &eval_evaluators.EntitiesEvalEvaluatorsUpdateV1Params{ Body: &models.DomainEvaluator{ AgentIds: []string{"string"}, Config: &config, CreatedAt: &createdAt, CreatedBy: &models.DomainUser{ AccessGrantedAt: strfmt.DateTime{}, Cid: "string", CreatedAt: strfmt.DateTime{}, Factors: []string{"string"}, FirstName: "string", LastLoginAt: strfmt.DateTime{}, LastName: "string", Status: "string", UID: "string", UpdatedAt: strfmt.DateTime{}, UserType: "string", UUID: "string", }, Description: &description, EvaluatorType: &evaluatorType, ID: &id, IsDeleted: &isDeleted, Metadata: map[string]string{}, Name: &name, Owner: &owner, ProjectID: "string", Tags: []string{"string"}, UpdatedAt: &updatedAt, UpdatedBy: &models.DomainUser{ AccessGrantedAt: strfmt.DateTime{}, Cid: "string", CreatedAt: strfmt.DateTime{}, Factors: []string{"string"}, FirstName: "string", LastLoginAt: strfmt.DateTime{}, LastName: "string", Status: "string", UID: "string", UpdatedAt: strfmt.DateTime{}, UserType: "string", UUID: "string", }, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalEvaluators.entitiesEvalEvaluatorsUpdateV1( { agentIds: [], config: "string", createdAt: new Date(), createdBy: { accessGrantedAt: new Date(), cid: "string", createdAt: new Date(), factors: [], firstName: "string", lastLoginAt: new Date(), lastName: "string", status: "string", uid: "string", updatedAt: new Date(), userType: "string", uuid: "string" }, description: "string", evaluatorType: "string", id: "string", isDeleted: boolean, metadata: {}, name: "string", owner: "string", projectId: "string", tags: [], updatedAt: new Date(), updatedBy: { accessGrantedAt: new Date(), cid: "string", createdAt: new Date(), factors: [], firstName: "string", lastLoginAt: new Date(), lastName: "string", status: "string", uid: "string", updatedAt: new Date(), userType: "string", uuid: "string" }} // body);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalEvaluators.new
body = Falcon::DomainEvaluator.new( agent_ids: [], config: 'string', created_at: 'string', created_by: { access_granted_at: 'string', cid: 'string', created_at: 'string', factors: [], first_name: 'string', last_login_at: 'string', last_name: 'string', status: 'string', uid: 'string', updated_at: 'string', user_type: 'string', uuid: 'string' }, description: 'string', evaluator_type: 'string', id: 'string', is_deleted: boolean, metadata: {}, name: 'string', owner: 'string', project_id: 'string', tags: [], updated_at: 'string', updated_by: { access_granted_at: 'string', cid: 'string', created_at: 'string', factors: [], first_name: 'string', last_login_at: 'string', last_name: 'string', status: 'string', uid: 'string', updated_at: 'string', user_type: 'string', uuid: 'string' })
response = api.entities_eval_evaluators_update_v1(body)
puts response[ { "agent_ids": [], "config": "string", "created_at": "string", "created_by": {}, "description": "string", "evaluator_type": "string", "id": "string", "is_deleted": false, "metadata": {}, "name": "string", "owner": "string", "project_id": "string", "tags": [], "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesEvalEvaluatorsV1
Section titled “EntitiesEvalEvaluatorsV1”Retrieve evaluation evaluator entities for the provided id.
get_eval_evaluatorsParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_eval_evaluators(ids=id_list, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.EntitiesEvalEvaluatorsV1(ids=id_list, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("EntitiesEvalEvaluatorsV1", ids=id_list, project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_evaluators")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.EvalEvaluators.EntitiesEvalEvaluatorsV1( &eval_evaluators.EntitiesEvalEvaluatorsV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalEvaluators.entitiesEvalEvaluatorsV1( ["ID1", "ID2", "ID3"], // ids "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalEvaluators.new
response = api.entities_eval_evaluators_v1(['ID1', 'ID2', 'ID3'])
puts response[ { "agent_ids": [], "config": "string", "created_at": "string", "created_by": {}, "description": "string", "evaluator_type": "string", "id": "string", "is_deleted": false, "metadata": {}, "name": "string", "owner": "string", "project_id": "string", "tags": [], "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesEvalRunsActionV1
Section titled “EntitiesEvalRunsActionV1”Perform an action on an evaluation run (start or stop).
perform_eval_run_actionParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
case_cost_limit = { "agent_run_credit_cents": 0, "judge_run_credit_cents": 0}
response = falcon.perform_eval_run_action(id="string", action_name="string", action="string", case_cost_limit=case_cost_limit, id="string", project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
case_cost_limit = { "agent_run_credit_cents": 0, "judge_run_credit_cents": 0}
response = falcon.EntitiesEvalRunsActionV1(id="string", action_name="string", action="string", case_cost_limit=case_cost_limit, id="string", project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "action": "string", "case_cost_limit": { "agent_run_credit_cents": integer, "judge_run_credit_cents": integer }, "id": "string", "project_id": "string"}
response = falcon.command("EntitiesEvalRunsActionV1", id="string", action_name="string", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_runs" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
iD := "string" actionName := "string" action := "string" id := "string"
response, err := client.EvalRuns.EntitiesEvalRunsActionV1( &eval_runs.EntitiesEvalRunsActionV1Params{ Body: &models.EvalsEvalRunActionRequestBody{ Action: &action, CaseCostLimit: &models.EvalsEvalRunActionCaseCostLimit{ AgentRunCreditCents: integer, JudgeRunCreditCents: integer, }, ID: &id, ProjectID: "string", }, ID: &iD, ActionName: &actionName, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalRuns.entitiesEvalRunsActionV1( { // body action: "string", caseCostLimit: { agentRunCreditCents: integer, judgeRunCreditCents: integer }, id: "string", projectId: "string" }, "string", // id "string" // actionName);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalRuns.new
body = Falcon::EvalsEvalRunActionRequestBody.new( action: 'string', case_cost_limit: { agent_run_credit_cents: integer, judge_run_credit_cents: integer }, id: 'string', project_id: 'string')
response = api.entities_eval_runs_action_v1(body)
puts response[ { "actual_cost": 0.0, "agent_id": "string", "agent_version_id": "string", "completed_at": "string", "created_at": "string", "created_by": {}, "dataset_entry_ids": [], "dataset_ids": [], "entry_tags": [], "estimated_cost": 0.0, "evaluator_ids": [], "id": "string", "is_deleted": false, "metadata": {}, "name": "string", "owner": "string", "progress": {}, "project_id": "string", "status": "string", "summary": {}, "updated_at": "string", "updated_by": {}, "variable_values": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesEvalRunsCreateV1
Section titled “EntitiesEvalRunsCreateV1”Create or update an evaluation run.
create_eval_runParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
created_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
metadata = "string"
progress = { "completed_cases": 0, "error_cases": 0, "total_cases": 0}
summary = { "average_latency": 0, "average_score": 0.0, "error_cases": 0, "evaluator_results": [ { "average_score": 0.0, "error_cases": 0, "evaluator_id": "string", "evaluator_name": "string", "failed_cases": 0, "passed_cases": 0 } ], "failed_cases": 0, "median_score": 0.0, "passed_cases": 0, "std_deviation": 0.0, "total_cases": 0, "total_duration": 0}
updated_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
variable_values = "string"
response = falcon.create_eval_run(actual_cost="string", agent_id="string", agent_version_id="string", completed_at="string", created_at="string", created_by=created_by, dataset_entry_ids=["string"], dataset_ids=["string"], entry_tags=["string"], estimated_cost="string", evaluator_ids=["string"], id="string", is_deleted=boolean, metadata=metadata, name="string", owner="string", progress=progress, project_id="string", status="string", summary=summary, updated_at="string", updated_by=updated_by, variable_values=variable_values)print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
created_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
metadata = "string"
progress = { "completed_cases": 0, "error_cases": 0, "total_cases": 0}
summary = { "average_latency": 0, "average_score": 0.0, "error_cases": 0, "evaluator_results": [ { "average_score": 0.0, "error_cases": 0, "evaluator_id": "string", "evaluator_name": "string", "failed_cases": 0, "passed_cases": 0 } ], "failed_cases": 0, "median_score": 0.0, "passed_cases": 0, "std_deviation": 0.0, "total_cases": 0, "total_duration": 0}
updated_by = { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string", "api_client_id": "string", "email": "string", "name": "string"}
variable_values = "string"
response = falcon.EntitiesEvalRunsCreateV1(actual_cost="string", agent_id="string", agent_version_id="string", completed_at="string", created_at="string", created_by=created_by, dataset_entry_ids=["string"], dataset_ids=["string"], entry_tags=["string"], estimated_cost="string", evaluator_ids=["string"], id="string", is_deleted=boolean, metadata=metadata, name="string", owner="string", progress=progress, project_id="string", status="string", summary=summary, updated_at="string", updated_by=updated_by, variable_values=variable_values)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "actual_cost": integer, "agent_id": "string", "agent_version_id": "string", "completed_at": "string", "created_at": "string", "created_by": { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": ["string"], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string" }, "dataset_entry_ids": ["string"], "dataset_ids": ["string"], "entry_tags": ["string"], "estimated_cost": integer, "evaluator_ids": ["string"], "id": "string", "is_deleted": boolean, "metadata": {}, "name": "string", "owner": "string", "progress": { "completed_cases": integer, "error_cases": integer, "total_cases": integer }, "project_id": "string", "status": "string", "summary": { "average_latency": integer, "average_score": integer, "error_cases": integer, "evaluator_results": [ { "average_score": integer, "error_cases": integer, "evaluator_id": "string", "evaluator_name": "string", "failed_cases": integer, "passed_cases": integer } ], "failed_cases": integer, "median_score": integer, "passed_cases": integer, "std_deviation": integer, "total_cases": integer, "total_duration": integer }, "updated_at": "string", "updated_by": { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": ["string"], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string" }, "variable_values": {}}
response = falcon.command("EntitiesEvalRunsCreateV1", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_runs" "github.com/go-openapi/strfmt" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
actualCost := float64(0) agentID := "string" agentVersionID := "string" createdAt := strfmt.DateTime{} estimatedCost := float64(0) id := "string" isDeleted := boolean name := "string" owner := "string" completedCases := int32(0) errorCases := int32(0) totalCases := int32(0) status := "string" averageLatency := int64(0) averageScore := float64(0) errorCases2 := int32(0) failedCases := int32(0) medianScore := float64(0) passedCases := int32(0) stdDeviation := float64(0) totalCases2 := int32(0) totalDuration := int64(0) updatedAt := strfmt.DateTime{}
response, err := client.EvalRuns.EntitiesEvalRunsCreateV1( &eval_runs.EntitiesEvalRunsCreateV1Params{ Body: &models.DomainEvaluationRun{ ActualCost: &actualCost, AgentID: &agentID, AgentVersionID: &agentVersionID, CompletedAt: strfmt.DateTime{}, CreatedAt: &createdAt, CreatedBy: &models.DomainUser{ AccessGrantedAt: strfmt.DateTime{}, Cid: "string", CreatedAt: strfmt.DateTime{}, Factors: []string{"string"}, FirstName: "string", LastLoginAt: strfmt.DateTime{}, LastName: "string", Status: "string", UID: "string", UpdatedAt: strfmt.DateTime{}, UserType: "string", UUID: "string", }, DatasetEntryIds: []string{"string"}, DatasetIds: []string{"string"}, EntryTags: []string{"string"}, EstimatedCost: &estimatedCost, EvaluatorIds: []string{"string"}, ID: &id, IsDeleted: &isDeleted, Metadata: map[string]string{}, Name: &name, Owner: &owner, Progress: &models.DomainRunProgress{ CompletedCases: &completedCases, ErrorCases: &errorCases, TotalCases: &totalCases, }, ProjectID: "string", Status: &status, Summary: &models.DomainRunSummary{ AverageLatency: &averageLatency, AverageScore: &averageScore, ErrorCases: &errorCases2, EvaluatorResults: []*models.DomainEvaluatorSummary{}, FailedCases: &failedCases, MedianScore: &medianScore, PassedCases: &passedCases, StdDeviation: &stdDeviation, TotalCases: &totalCases2, TotalDuration: &totalDuration, }, UpdatedAt: &updatedAt, UpdatedBy: &models.DomainUser{ AccessGrantedAt: strfmt.DateTime{}, Cid: "string", CreatedAt: strfmt.DateTime{}, Factors: []string{"string"}, FirstName: "string", LastLoginAt: strfmt.DateTime{}, LastName: "string", Status: "string", UID: "string", UpdatedAt: strfmt.DateTime{}, UserType: "string", UUID: "string", }, VariableValues: map[string]string{}, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalRuns.entitiesEvalRunsCreateV1( { actualCost: integer, agentId: "string", agentVersionId: "string", completedAt: new Date(), createdAt: new Date(), createdBy: { accessGrantedAt: new Date(), cid: "string", createdAt: new Date(), factors: [], firstName: "string", lastLoginAt: new Date(), lastName: "string", status: "string", uid: "string", updatedAt: new Date(), userType: "string", uuid: "string" }, datasetEntryIds: [], datasetIds: [], entryTags: [], estimatedCost: integer, evaluatorIds: [], id: "string", isDeleted: boolean, metadata: {}, name: "string", owner: "string", progress: { completedCases: integer, errorCases: integer, totalCases: integer }, projectId: "string", status: "string", summary: { averageLatency: integer, averageScore: integer, errorCases: integer, evaluatorResults: [{ averageScore: integer, errorCases: integer, evaluatorId: "string", evaluatorName: "string", failedCases: integer, passedCases: integer }], failedCases: integer, medianScore: integer, passedCases: integer, stdDeviation: integer, totalCases: integer, totalDuration: integer }, updatedAt: new Date(), updatedBy: { accessGrantedAt: new Date(), cid: "string", createdAt: new Date(), factors: [], firstName: "string", lastLoginAt: new Date(), lastName: "string", status: "string", uid: "string", updatedAt: new Date(), userType: "string", uuid: "string" }, variableValues: {}} // body);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalRuns.new
body = Falcon::DomainEvaluationRun.new( actual_cost: integer, agent_id: 'string', agent_version_id: 'string', completed_at: 'string', created_at: 'string', created_by: { access_granted_at: 'string', cid: 'string', created_at: 'string', factors: [], first_name: 'string', last_login_at: 'string', last_name: 'string', status: 'string', uid: 'string', updated_at: 'string', user_type: 'string', uuid: 'string' }, dataset_entry_ids: [], dataset_ids: [], entry_tags: [], estimated_cost: integer, evaluator_ids: [], id: 'string', is_deleted: boolean, metadata: {}, name: 'string', owner: 'string', progress: { completed_cases: integer, error_cases: integer, total_cases: integer }, project_id: 'string', status: 'string', summary: { average_latency: integer, average_score: integer, error_cases: integer, evaluator_results: [{ average_score: integer, error_cases: integer, evaluator_id: 'string', evaluator_name: 'string', failed_cases: integer, passed_cases: integer }], failed_cases: integer, median_score: integer, passed_cases: integer, std_deviation: integer, total_cases: integer, total_duration: integer }, updated_at: 'string', updated_by: { access_granted_at: 'string', cid: 'string', created_at: 'string', factors: [], first_name: 'string', last_login_at: 'string', last_name: 'string', status: 'string', uid: 'string', updated_at: 'string', user_type: 'string', uuid: 'string' }, variable_values: {})
response = api.entities_eval_runs_create_v1(body)
puts response[ { "actual_cost": 0.0, "agent_id": "string", "agent_version_id": "string", "completed_at": "string", "created_at": "string", "created_by": {}, "dataset_entry_ids": [], "dataset_ids": [], "entry_tags": [], "estimated_cost": 0.0, "evaluator_ids": [], "id": "string", "is_deleted": false, "metadata": {}, "name": "string", "owner": "string", "progress": {}, "project_id": "string", "status": "string", "summary": {}, "updated_at": "string", "updated_by": {}, "variable_values": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesEvalRunsDeleteV1
Section titled “EntitiesEvalRunsDeleteV1”Delete an evaluation run by ID.
delete_eval_runParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.delete_eval_run(id="string", project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.EntitiesEvalRunsDeleteV1(id="string", project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("EntitiesEvalRunsDeleteV1", id="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_runs")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.EvalRuns.EntitiesEvalRunsDeleteV1( &eval_runs.EntitiesEvalRunsDeleteV1Params{ ID: "string", ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalRuns.entitiesEvalRunsDeleteV1( "string", // id "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalRuns.new
response = api.entities_eval_runs_delete_v1('string')
puts response{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesEvalRunsV1
Section titled “EntitiesEvalRunsV1”Retrieve evaluation run entities for the provided id.
get_eval_runsParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_eval_runs(ids=id_list, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.EntitiesEvalRunsV1(ids=id_list, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("EntitiesEvalRunsV1", ids=id_list, project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_runs")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.EvalRuns.EntitiesEvalRunsV1( &eval_runs.EntitiesEvalRunsV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalRuns.entitiesEvalRunsV1( ["ID1", "ID2", "ID3"], // ids "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalRuns.new
response = api.entities_eval_runs_v1(['ID1', 'ID2', 'ID3'])
puts response[ { "actual_cost": 0.0, "agent_id": "string", "agent_version_id": "string", "completed_at": "string", "created_at": "string", "created_by": {}, "dataset_entry_ids": [], "dataset_ids": [], "entry_tags": [], "estimated_cost": 0.0, "evaluator_ids": [], "id": "string", "is_deleted": false, "metadata": {}, "name": "string", "owner": "string", "progress": {}, "project_id": "string", "status": "string", "summary": {}, "updated_at": "string", "updated_by": {}, "variable_values": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesKnowledgeBaseAuditEventsV1
Section titled “EntitiesKnowledgeBaseAuditEventsV1”Retrieve knowledge base audit event entities by their IDs.
entities_knowledge_base_audit_events_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_knowledge_base_audit_events_v1(knowledge_base_id="string", ids=id_list, include_deleted=boolean, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.EntitiesKnowledgeBaseAuditEventsV1(knowledge_base_id="string", ids=id_list, include_deleted=boolean, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("EntitiesKnowledgeBaseAuditEventsV1", knowledge_base_id="string", ids=id_list, include_deleted=boolean)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/knowledge_base_audit_events")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
includeDeleted := boolean
response, err := client.KnowledgeBaseAuditEvents.EntitiesKnowledgeBaseAuditEventsV1( &knowledge_base_audit_events.EntitiesKnowledgeBaseAuditEventsV1Params{ KnowledgeBaseID: "string", Ids: []string{"ID1", "ID2", "ID3"}, IncludeDeleted: &includeDeleted, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.knowledgeBaseAuditEvents.entitiesKnowledgeBaseAuditEventsV1( "string", // knowledgeBaseId ["ID1", "ID2", "ID3"], // ids boolean, // includeDeleted "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::KnowledgeBaseAuditEvents.new
response = api.entities_knowledge_base_audit_events_v1('string', ['ID1', 'ID2', 'ID3'])
puts response[ { "created_at": "string", "details": {}, "entity_id": "string", "entity_type": "string", "id": "string", "operation_type": "string", "parent_id": "string", "user": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesKnowledgeBaseFilesCreateV1
Section titled “EntitiesKnowledgeBaseFilesCreateV1”Upload a file to a knowledge base.
entities_knowledge_base_files_create_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.entities_knowledge_base_files_create_v1(file_name="string", knowledge_base_id="string", file="string", file_description="string", project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.EntitiesKnowledgeBaseFilesCreateV1(file_name="string", knowledge_base_id="string", file="string", file_description="string", project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("EntitiesKnowledgeBaseFilesCreateV1", knowledge_base_id="string", file_data=open("filename", "rb").read(), file_description="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/knowledge_base_files")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
fileDescription := "string" projectID := "string"
response, err := client.KnowledgeBaseFiles.EntitiesKnowledgeBaseFilesCreateV1( &knowledge_base_files.EntitiesKnowledgeBaseFilesCreateV1Params{ KnowledgeBaseID: "string", FileDescription: &fileDescription, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.knowledgeBaseFiles.entitiesKnowledgeBaseFilesCreateV1( "string", // knowledgeBaseId new Blob([]), // file "string", // fileDescription "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::KnowledgeBaseFiles.new
response = api.entities_knowledge_base_files_create_v1('string', File.open('path/to/file', 'rb'))
puts response{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }, "resources": [ { "content_type": "string", "created_at": "string", "created_by": {}, "id": "string", "is_deleted": false, "knowledge_base_id": "string", "metadata": {}, "name": "string", "size": 0, "status": "string", "updated_at": "string", "updated_by": {} } ]}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesKnowledgeBaseFilesDeleteV1
Section titled “EntitiesKnowledgeBaseFilesDeleteV1”Delete a knowledge base file.
entities_knowledge_base_files_delete_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.entities_knowledge_base_files_delete_v1(knowledge_base_id="string", id="string", project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.EntitiesKnowledgeBaseFilesDeleteV1(knowledge_base_id="string", id="string", project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("EntitiesKnowledgeBaseFilesDeleteV1", knowledge_base_id="string", id="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/knowledge_base_files")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.KnowledgeBaseFiles.EntitiesKnowledgeBaseFilesDeleteV1( &knowledge_base_files.EntitiesKnowledgeBaseFilesDeleteV1Params{ KnowledgeBaseID: "string", ID: "string", ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.knowledgeBaseFiles.entitiesKnowledgeBaseFilesDeleteV1( "string", // knowledgeBaseId "string", // id "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::KnowledgeBaseFiles.new
response = api.entities_knowledge_base_files_delete_v1('string', 'string')
puts response{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesKnowledgeBaseFilesDownloadV1
Section titled “EntitiesKnowledgeBaseFilesDownloadV1”Download knowledge base file entities for the provided id.
entities_knowledge_base_files_download_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
with open("output_file", "wb") as save_file: response = falcon.entities_knowledge_base_files_download_v1(knowledge_base_id="string", id="string", project_id="string", stream=boolean) save_file.write(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
with open("output_file", "wb") as save_file: response = falcon.EntitiesKnowledgeBaseFilesDownloadV1(knowledge_base_id="string", id="string", project_id="string", stream=boolean) save_file.write(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
with open("output_file", "wb") as save_file: response = falcon.command("EntitiesKnowledgeBaseFilesDownloadV1", knowledge_base_id="string", id="string", project_id="string") save_file.write(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/knowledge_base_files")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.KnowledgeBaseFiles.EntitiesKnowledgeBaseFilesDownloadV1( &knowledge_base_files.EntitiesKnowledgeBaseFilesDownloadV1Params{ KnowledgeBaseID: "string", ID: "string", ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.knowledgeBaseFiles.entitiesKnowledgeBaseFilesDownloadV1( "string", // knowledgeBaseId "string", // id "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::KnowledgeBaseFiles.new
response = api.entities_knowledge_base_files_download_v1('string', 'string')
puts response{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesKnowledgeBaseFilesUpdateV1
Section titled “EntitiesKnowledgeBaseFilesUpdateV1”Update an existing file in a knowledge base.
entities_knowledge_base_files_update_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.entities_knowledge_base_files_update_v1(file_name="string", id="string", file="string", file_description="string", project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.EntitiesKnowledgeBaseFilesUpdateV1(file_name="string", id="string", file="string", file_description="string", project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("EntitiesKnowledgeBaseFilesUpdateV1", id="string", file_data=open("filename", "rb").read(), file_description="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/knowledge_base_files")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
fileDescription := "string" projectID := "string"
response, err := client.KnowledgeBaseFiles.EntitiesKnowledgeBaseFilesUpdateV1( &knowledge_base_files.EntitiesKnowledgeBaseFilesUpdateV1Params{ ID: "string", FileDescription: &fileDescription, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.knowledgeBaseFiles.entitiesKnowledgeBaseFilesUpdateV1( "string", // id new Blob([]), // file "string", // fileDescription "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::KnowledgeBaseFiles.new
response = api.entities_knowledge_base_files_update_v1('string', File.open('path/to/file', 'rb'))
puts response{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }, "resources": [ { "content_type": "string", "created_at": "string", "created_by": {}, "id": "string", "is_deleted": false, "knowledge_base_id": "string", "metadata": {}, "name": "string", "size": 0, "status": "string", "updated_at": "string", "updated_by": {} } ]}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesKnowledgeBaseFilesV1
Section titled “EntitiesKnowledgeBaseFilesV1”Retrieve knowledge base file entities for the provided id.
entities_knowledge_base_files_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_knowledge_base_files_v1(knowledge_base_id="string", ids=id_list, include_deleted=boolean, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.EntitiesKnowledgeBaseFilesV1(knowledge_base_id="string", ids=id_list, include_deleted=boolean, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("EntitiesKnowledgeBaseFilesV1", knowledge_base_id="string", ids=id_list, include_deleted=boolean, project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/knowledge_base_files")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
includeDeleted := boolean projectID := "string"
response, err := client.KnowledgeBaseFiles.EntitiesKnowledgeBaseFilesV1( &knowledge_base_files.EntitiesKnowledgeBaseFilesV1Params{ KnowledgeBaseID: "string", Ids: []string{"ID1", "ID2", "ID3"}, IncludeDeleted: &includeDeleted, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.knowledgeBaseFiles.entitiesKnowledgeBaseFilesV1( "string", // knowledgeBaseId ["ID1", "ID2", "ID3"], // ids boolean, // includeDeleted "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::KnowledgeBaseFiles.new
response = api.entities_knowledge_base_files_v1('string', ['ID1', 'ID2', 'ID3'])
puts response[ { "content_type": "string", "created_at": "string", "created_by": {}, "id": "string", "is_deleted": false, "knowledge_base_id": "string", "metadata": {}, "name": "string", "size": 0, "status": "string", "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesKnowledgeBasesCreateV1
Section titled “EntitiesKnowledgeBasesCreateV1”Create or update a knowledge base.
entities_knowledge_bases_create_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
created_by = { "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string"}
updated_by = { "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string"}
response = falcon.entities_knowledge_bases_create_v1(created_at="string", created_by=created_by, description="string", embedding_model="string", files_count=integer, id="string", is_deleted=boolean, name="string", project_id="string", updated_at="string", updated_by=updated_by)print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
created_by = { "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string"}
updated_by = { "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string"}
response = falcon.EntitiesKnowledgeBasesCreateV1(created_at="string", created_by=created_by, description="string", embedding_model="string", files_count=integer, id="string", is_deleted=boolean, name="string", project_id="string", updated_at="string", updated_by=updated_by)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "attribution": { "data": { "foundry_app_id": "string" }, "origin": "string" }, "created_at": "string", "created_by": { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": ["string"], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string" }, "description": "string", "embedding_model": "string", "files_count": integer, "id": "string", "is_deleted": boolean, "name": "string", "project_id": "string", "updated_at": "string", "updated_by": { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": ["string"], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string" }}
response = falcon.command("EntitiesKnowledgeBasesCreateV1", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/knowledge_bases" "github.com/go-openapi/strfmt" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
origin := "string" createdAt := strfmt.DateTime{} description := "string" embeddingModel := "string" filesCount := int64(0) id := "string" isDeleted := boolean name := "string" updatedAt := strfmt.DateTime{}
response, err := client.KnowledgeBases.EntitiesKnowledgeBasesCreateV1( &knowledge_bases.EntitiesKnowledgeBasesCreateV1Params{ Body: &models.DomainKnowledgeBase{ Attribution: &models.DomainAttribution{ Data: &models.DomainAttributionData{}, Origin: &origin, }, CreatedAt: &createdAt, CreatedBy: &models.DomainUser{ AccessGrantedAt: strfmt.DateTime{}, Cid: "string", CreatedAt: strfmt.DateTime{}, Factors: []string{"string"}, FirstName: "string", LastLoginAt: strfmt.DateTime{}, LastName: "string", Status: "string", UID: "string", UpdatedAt: strfmt.DateTime{}, UserType: "string", UUID: "string", }, Description: &description, EmbeddingModel: &embeddingModel, FilesCount: &filesCount, ID: &id, IsDeleted: &isDeleted, Name: &name, ProjectID: "string", UpdatedAt: &updatedAt, UpdatedBy: &models.DomainUser{ AccessGrantedAt: strfmt.DateTime{}, Cid: "string", CreatedAt: strfmt.DateTime{}, Factors: []string{"string"}, FirstName: "string", LastLoginAt: strfmt.DateTime{}, LastName: "string", Status: "string", UID: "string", UpdatedAt: strfmt.DateTime{}, UserType: "string", UUID: "string", }, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.knowledgeBases.entitiesKnowledgeBasesCreateV1( { attribution: { data: { foundryAppId: "string" }, origin: "string" }, createdAt: new Date(), createdBy: { accessGrantedAt: new Date(), cid: "string", createdAt: new Date(), factors: [], firstName: "string", lastLoginAt: new Date(), lastName: "string", status: "string", uid: "string", updatedAt: new Date(), userType: "string", uuid: "string" }, description: "string", embeddingModel: "string", filesCount: integer, id: "string", isDeleted: boolean, name: "string", projectId: "string", updatedAt: new Date(), updatedBy: { accessGrantedAt: new Date(), cid: "string", createdAt: new Date(), factors: [], firstName: "string", lastLoginAt: new Date(), lastName: "string", status: "string", uid: "string", updatedAt: new Date(), userType: "string", uuid: "string" }} // body);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::KnowledgeBases.new
body = Falcon::DomainKnowledgeBase.new( attribution: { data: { foundry_app_id: 'string' }, origin: 'string' }, created_at: 'string', created_by: { access_granted_at: 'string', cid: 'string', created_at: 'string', factors: [], first_name: 'string', last_login_at: 'string', last_name: 'string', status: 'string', uid: 'string', updated_at: 'string', user_type: 'string', uuid: 'string' }, description: 'string', embedding_model: 'string', files_count: integer, id: 'string', is_deleted: boolean, name: 'string', project_id: 'string', updated_at: 'string', updated_by: { access_granted_at: 'string', cid: 'string', created_at: 'string', factors: [], first_name: 'string', last_login_at: 'string', last_name: 'string', status: 'string', uid: 'string', updated_at: 'string', user_type: 'string', uuid: 'string' })
response = api.entities_knowledge_bases_create_v1(body)
puts response[ { "attribution": {}, "created_at": "string", "created_by": {}, "description": "string", "embedding_model": "string", "files_count": 0, "id": "string", "is_deleted": false, "name": "string", "project_id": "string", "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesKnowledgeBasesUpdateV1
Section titled “EntitiesKnowledgeBasesUpdateV1”Update an existing knowledge base.
entities_knowledge_bases_update_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
created_by = { "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string"}
updated_by = { "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string"}
response = falcon.entities_knowledge_bases_update_v1(created_at="string", created_by=created_by, description="string", embedding_model="string", files_count=integer, id="string", is_deleted=boolean, name="string", updated_at="string", updated_by=updated_by, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
created_by = { "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string"}
updated_by = { "cid": "string", "created_at": "string", "factors": [ "string" ], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string"}
response = falcon.EntitiesKnowledgeBasesUpdateV1(created_at="string", created_by=created_by, description="string", embedding_model="string", files_count=integer, id="string", is_deleted=boolean, name="string", updated_at="string", updated_by=updated_by, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "attribution": { "data": { "foundry_app_id": "string" }, "origin": "string" }, "created_at": "string", "created_by": { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": ["string"], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string" }, "description": "string", "embedding_model": "string", "files_count": integer, "id": "string", "is_deleted": boolean, "name": "string", "project_id": "string", "updated_at": "string", "updated_by": { "access_granted_at": "string", "cid": "string", "created_at": "string", "factors": ["string"], "first_name": "string", "last_login_at": "string", "last_name": "string", "status": "string", "uid": "string", "updated_at": "string", "user_type": "string", "uuid": "string" }}
response = falcon.command("EntitiesKnowledgeBasesUpdateV1", project_id="string", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/knowledge_bases" "github.com/go-openapi/strfmt" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string" origin := "string" createdAt := strfmt.DateTime{} description := "string" embeddingModel := "string" filesCount := int64(0) id := "string" isDeleted := boolean name := "string" updatedAt := strfmt.DateTime{}
response, err := client.KnowledgeBases.EntitiesKnowledgeBasesUpdateV1( &knowledge_bases.EntitiesKnowledgeBasesUpdateV1Params{ Body: &models.DomainKnowledgeBase{ Attribution: &models.DomainAttribution{ Data: &models.DomainAttributionData{}, Origin: &origin, }, CreatedAt: &createdAt, CreatedBy: &models.DomainUser{ AccessGrantedAt: strfmt.DateTime{}, Cid: "string", CreatedAt: strfmt.DateTime{}, Factors: []string{"string"}, FirstName: "string", LastLoginAt: strfmt.DateTime{}, LastName: "string", Status: "string", UID: "string", UpdatedAt: strfmt.DateTime{}, UserType: "string", UUID: "string", }, Description: &description, EmbeddingModel: &embeddingModel, FilesCount: &filesCount, ID: &id, IsDeleted: &isDeleted, Name: &name, ProjectID: "string", UpdatedAt: &updatedAt, UpdatedBy: &models.DomainUser{ AccessGrantedAt: strfmt.DateTime{}, Cid: "string", CreatedAt: strfmt.DateTime{}, Factors: []string{"string"}, FirstName: "string", LastLoginAt: strfmt.DateTime{}, LastName: "string", Status: "string", UID: "string", UpdatedAt: strfmt.DateTime{}, UserType: "string", UUID: "string", }, }, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.knowledgeBases.entitiesKnowledgeBasesUpdateV1( { // body attribution: { data: { foundryAppId: "string" }, origin: "string" }, createdAt: new Date(), createdBy: { accessGrantedAt: new Date(), cid: "string", createdAt: new Date(), factors: [], firstName: "string", lastLoginAt: new Date(), lastName: "string", status: "string", uid: "string", updatedAt: new Date(), userType: "string", uuid: "string" }, description: "string", embeddingModel: "string", filesCount: integer, id: "string", isDeleted: boolean, name: "string", projectId: "string", updatedAt: new Date(), updatedBy: { accessGrantedAt: new Date(), cid: "string", createdAt: new Date(), factors: [], firstName: "string", lastLoginAt: new Date(), lastName: "string", status: "string", uid: "string", updatedAt: new Date(), userType: "string", uuid: "string" } }, "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::KnowledgeBases.new
body = Falcon::DomainKnowledgeBase.new( attribution: { data: { foundry_app_id: 'string' }, origin: 'string' }, created_at: 'string', created_by: { access_granted_at: 'string', cid: 'string', created_at: 'string', factors: [], first_name: 'string', last_login_at: 'string', last_name: 'string', status: 'string', uid: 'string', updated_at: 'string', user_type: 'string', uuid: 'string' }, description: 'string', embedding_model: 'string', files_count: integer, id: 'string', is_deleted: boolean, name: 'string', project_id: 'string', updated_at: 'string', updated_by: { access_granted_at: 'string', cid: 'string', created_at: 'string', factors: [], first_name: 'string', last_login_at: 'string', last_name: 'string', status: 'string', uid: 'string', updated_at: 'string', user_type: 'string', uuid: 'string' })
response = api.entities_knowledge_bases_update_v1(body)
puts response[ { "attribution": {}, "created_at": "string", "created_by": {}, "description": "string", "embedding_model": "string", "files_count": 0, "id": "string", "is_deleted": false, "name": "string", "project_id": "string", "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesKnowledgeBasesV1
Section titled “EntitiesKnowledgeBasesV1”Retrieve knowledge base entities for the provided id.
entities_knowledge_bases_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_knowledge_bases_v1(ids=id_list, include_deleted=boolean, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.EntitiesKnowledgeBasesV1(ids=id_list, include_deleted=boolean, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("EntitiesKnowledgeBasesV1", ids=id_list, include_deleted=boolean, project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/knowledge_bases")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
includeDeleted := boolean projectID := "string"
response, err := client.KnowledgeBases.EntitiesKnowledgeBasesV1( &knowledge_bases.EntitiesKnowledgeBasesV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, IncludeDeleted: &includeDeleted, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.knowledgeBases.entitiesKnowledgeBasesV1( ["ID1", "ID2", "ID3"], // ids boolean, // includeDeleted "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::KnowledgeBases.new
response = api.entities_knowledge_bases_v1(['ID1', 'ID2', 'ID3'])
puts response[ { "attribution": {}, "created_at": "string", "created_by": {}, "description": "string", "embedding_model": "string", "files_count": 0, "id": "string", "is_deleted": false, "name": "string", "project_id": "string", "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesModelsV1
Section titled “EntitiesModelsV1”Get Model Entities by IDs
entities_models_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_models_v1(ids=id_list)print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.EntitiesModelsV1(ids=id_list)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("EntitiesModelsV1", ids=id_list)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/agentic_models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
response, err := client.AgenticModels.EntitiesModelsV1( &agentic_models.EntitiesModelsV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.models.entitiesModelsV1(["ID1", "ID2", "ID3"]); // ids
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Models.new
response = api.entities_models_v1(['ID1', 'ID2', 'ID3'])
puts response[ { "accepted_parameters": {}, "byo_model": {}, "description": "string", "id": "string", "max_completion_length": 0, "max_context_length": 0, "name": "string", "tags": [] }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesSkillsCreateV1
Section titled “EntitiesSkillsCreateV1”Upload a new skill as a zip archive.
create_studio_skillParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.create_studio_skill(file_name="string", skill_blob="string", project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.EntitiesSkillsCreateV1(file_name="string", skill_blob="string", project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("EntitiesSkillsCreateV1", skill_blob="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/skills")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.Skills.EntitiesSkillsCreateV1( &skills.EntitiesSkillsCreateV1Params{ ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.skills.entitiesSkillsCreateV1( new Blob([]), // skillBlob "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Skills.new
response = api.entities_skills_create_v1(File.open('path/to/file', 'rb'))
puts response[ { "attribution": {}, "created_at": "string", "created_by": {}, "description": "string", "id": "string", "is_deleted": false, "metadata": {}, "name": "string", "project_id": "string", "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesSkillsDeleteV1
Section titled “EntitiesSkillsDeleteV1”Delete a skill by its ID.
delete_studio_skillParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.delete_studio_skill(id=id_list, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.EntitiesSkillsDeleteV1(id=id_list, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("EntitiesSkillsDeleteV1", id="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/skills")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.Skills.EntitiesSkillsDeleteV1( &skills.EntitiesSkillsDeleteV1Params{ ID: "string", ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.skills.entitiesSkillsDeleteV1( "string", // id "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Skills.new
response = api.entities_skills_delete_v1('string')
puts response{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesSkillsDownloadV2
Section titled “EntitiesSkillsDownloadV2”Download a single skill blob as a zip archive.
download_studio_skillParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.download_studio_skill(id="string", include_deleted=boolean, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.EntitiesSkillsDownloadV2(id="string", include_deleted=boolean, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("EntitiesSkillsDownloadV2", id="string", include_deleted=boolean, project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/skills")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
includeDeleted := boolean projectID := "string"
response, err := client.Skills.EntitiesSkillsDownloadV2( &skills.EntitiesSkillsDownloadV2Params{ ID: "string", IncludeDeleted: &includeDeleted, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.skills.entitiesSkillsDownloadV2( "string", // id boolean, // includeDeleted "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Skills.new
response = api.entities_skills_download_v2('string')
puts response{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesSkillsUpdateV1
Section titled “EntitiesSkillsUpdateV1”Update an existing skill with a new zip archive.
update_studio_skillParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.update_studio_skill(file_name="string", id="string", skill_blob="string", project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.EntitiesSkillsUpdateV1(file_name="string", id="string", skill_blob="string", project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("EntitiesSkillsUpdateV1", id="string", skill_blob="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/skills")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.Skills.EntitiesSkillsUpdateV1( &skills.EntitiesSkillsUpdateV1Params{ ID: "string", ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.skills.entitiesSkillsUpdateV1( "string", // id new Blob([]), // skillBlob "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Skills.new
response = api.entities_skills_update_v1('string', File.open('path/to/file', 'rb'))
puts response[ { "attribution": {}, "created_at": "string", "created_by": {}, "description": "string", "id": "string", "is_deleted": false, "metadata": {}, "name": "string", "project_id": "string", "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesSkillsV1
Section titled “EntitiesSkillsV1”Retrieve skill entities for the provided IDs.
get_studio_skillsParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_studio_skills(ids=id_list, include_deleted=boolean, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.EntitiesSkillsV1(ids=id_list, include_deleted=boolean, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("EntitiesSkillsV1", ids=id_list, include_deleted=boolean, project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/skills")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
includeDeleted := boolean projectID := "string"
response, err := client.Skills.EntitiesSkillsV1( &skills.EntitiesSkillsV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, IncludeDeleted: &includeDeleted, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.skills.entitiesSkillsV1( ["ID1", "ID2", "ID3"], // ids boolean, // includeDeleted "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Skills.new
response = api.entities_skills_v1(['ID1', 'ID2', 'ID3'])
puts response[ { "attribution": {}, "created_at": "string", "created_by": {}, "description": "string", "id": "string", "is_deleted": false, "metadata": {}, "name": "string", "project_id": "string", "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesSpansV1
Section titled “EntitiesSpansV1”Retrieve spans for the provided ids.
entities_spans_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_spans_v1(ids=id_list, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.EntitiesSpansV1(ids=id_list, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("EntitiesSpansV1", ids=id_list, project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/spans")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.Spans.EntitiesSpansV1( &spans.EntitiesSpansV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.spans.entitiesSpansV1( ["ID1", "ID2", "ID3"], // ids "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Spans.new
response = api.entities_spans_v1(['ID1', 'ID2', 'ID3'])
puts response[ { "attributes": {}, "created_by": {}, "duration_ms": 0, "end_time": "string", "error": {}, "id": "string", "name": "string", "parent_span_id": "string", "project_id": "string", "span_id": "string", "span_type": "string", "start_time": "string", "status": "string", "trace_id": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}EntitiesToolsV1
Section titled “EntitiesToolsV1”Retrieve tools entities for the provided id.
entities_tools_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.entities_tools_v1(ids=id_list, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.EntitiesToolsV1(ids=id_list, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("EntitiesToolsV1", ids=id_list, project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/tools")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.Tools.EntitiesToolsV1( &tools.EntitiesToolsV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.tools.entitiesToolsV1( ["ID1", "ID2", "ID3"], // ids "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Tools.new
response = api.entities_tools_v1(['ID1', 'ID2', 'ID3'])
puts response[ { "category": "string", "description": "string", "extended_input_schema": "string", "id": "string", "input_schema": {}, "is_deleted": false, "is_enabled": false, "meta": {}, "name": "string", "output_schema": {}, "tags": [], "title": "string", "type": "string" }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}GetAgentInvocationV3
Section titled “GetAgentInvocationV3”Get the messages that an invocation produced.
get_agent_invocation_v3Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_agent_invocation_v3(id=id_list, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.GetAgentInvocationV3(id=id_list, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("GetAgentInvocationV3", id="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/agent_invocation")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.AgentInvocation.GetAgentInvocationV3( &agent_invocation.GetAgentInvocationV3Params{ ID: "string", ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.agentInvocation.getAgentInvocationV3( "string", // id "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::AgentInvocation.new
response = api.get_agent_invocation_v3('string')
puts response[ { "ai_trace_id": "string", "budget_approvals": [], "compaction": {}, "conversation": [], "id": "string", "project_id": "string", "status": "string", "tool_approvals": [] }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}GetAgentsV2
Section titled “GetAgentsV2”Retrieve agents entities for the provided ids.
get_studio_agentsParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_studio_agents(ids=id_list, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.GetAgentsV2(ids=id_list, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("GetAgentsV2", ids=id_list, project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/agents")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.Agents.GetAgentsV2( &agents.GetAgentsV2Params{ Ids: []string{"ID1", "ID2", "ID3"}, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.agents.getAgentsV2( ["ID1", "ID2", "ID3"], // ids "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Agents.new
response = api.get_agents_v2(['ID1', 'ID2', 'ID3'])
puts response[ { "active_version": {}, "attribution": {}, "cid": "string", "created_at": "string", "created_by": {}, "duplicate_from_agent_id": "string", "id": "string", "is_deleted": false, "is_in_sync": false, "project_id": "string", "published_version_ids": [], "tags": [], "template_id": "string", "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}GetAgentVersionsV1
Section titled “GetAgentVersionsV1”Retrieve agent version entities for the provided ids.
get_agent_versions_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_agent_versions_v1(ids=id_list, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.GetAgentVersionsV1(ids=id_list, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("GetAgentVersionsV1", ids=id_list, project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/agent_versions")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
response, err := client.AgentVersions.GetAgentVersionsV1( &agent_versions.GetAgentVersionsV1Params{ Ids: []string{"ID1", "ID2", "ID3"}, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.agentVersions.getAgentVersionsV1( ["ID1", "ID2", "ID3"], // ids "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::AgentVersions.new
response = api.get_agent_versions_v1(['ID1', 'ID2', 'ID3'])
puts response[ { "agent_id": "string", "cid": "string", "compaction_config": {}, "created_at": "string", "created_by": {}, "description": "string", "flight_control_config": {}, "id": "string", "input_format": {}, "is_enabled": false, "is_in_sync": false, "is_published": false, "knowledge_base_ids": [], "metadata": {}, "metadata_updated_at": "string", "model": "string", "model_config": {}, "name": "string", "output_format": {}, "parent_version_ids": [], "project_id": "string", "published_at": "string", "published_by": {}, "semantic_version": "string", "skill_ids": [], "system_prompt": "string", "targeting_config": {}, "tools": [], "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}InvokeAgentVersionExternalV1
Section titled “InvokeAgentVersionExternalV1”Invoke a specific agent version by agent ID and version ID with the specified input.
invoke_agent_version_external_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
messages = [ { "content": "string", "error": { "code": "string", "message": "string", "param": "string", "type": "string" }, "reasoning": "string", "role": "string", "tool": { "calls": [ { "function": { "arguments": "string", "name": "string" }, "id": "string", "type": "string" } ], "tool_id": "string" }, "tool_approval": { "external_approval": { "external_id": "string", "provider": "string" }, "id": "string", "invocation_id": "string", "parameters": "string", "request_message": "string", "requested_at": "string", "responded_at": "string", "responded_by": { "customer_id": "string", "service_id": "string", "user_id": "string" }, "response_message": "string", "source_agent_id": "string", "source_invocation_id": "string", "status": "string", "tool_call_id": "string", "tool_id": "string", "tool_name": "string" } }]
response = falcon.invoke_agent_version_external_v1(credit_cents_limit=integer, deadline_seconds=integer, id="string", messages=messages, project_id="string", version_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
messages = [ { "content": "string", "error": { "code": "string", "message": "string", "param": "string", "type": "string" }, "reasoning": "string", "role": "string", "tool": { "calls": [ { "function": { "arguments": "string", "name": "string" }, "id": "string", "type": "string" } ], "tool_id": "string" }, "tool_approval": { "external_approval": { "external_id": "string", "provider": "string" }, "id": "string", "invocation_id": "string", "parameters": "string", "request_message": "string", "requested_at": "string", "responded_at": "string", "responded_by": { "customer_id": "string", "service_id": "string", "user_id": "string" }, "response_message": "string", "source_agent_id": "string", "source_invocation_id": "string", "status": "string", "tool_call_id": "string", "tool_id": "string", "tool_name": "string" } }]
response = falcon.InvokeAgentVersionExternalV1(credit_cents_limit=integer, deadline_seconds=integer, id="string", messages=messages, project_id="string", version_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "credit_cents_limit": integer, "deadline_seconds": integer, "id": "string", "messages": [ { "budget_approval": { "external_approval": {}, "id": "string", "invocation_id": "string", "requested_at": "string", "responded_at": "string", "responded_by": {}, "response_message": "string", "status": "string" }, "content": "string", "error": { "code": "string", "message": "string", "param": "string", "type": "string" }, "reasoning": "string", "role": "string", "tool": { "calls": ["string"], "result": {}, "tool_id": "string" }, "tool_approval": { "external_approval": {}, "id": "string", "invocation_id": "string", "parameters": {}, "request_message": "string", "requested_at": "string", "responded_at": "string", "responded_by": {}, "response_message": "string", "source_agent_id": "string", "source_invocation_id": "string", "status": "string", "tool_call_id": "string", "tool_id": "string", "tool_name": "string" } } ], "project_id": "string", "version_id": "string"}
response = falcon.command("InvokeAgentVersionExternalV1", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/agent_invocation" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
id := "string" content := "string" role := "string" versionID := "string"
response, err := client.AgentInvocation.InvokeAgentVersionExternalV1( &agent_invocation.InvokeAgentVersionExternalV1Params{ Body: &models.APIInvokeAgentVersionExternalRequest{ CreditCentsLimit: integer, DeadlineSeconds: integer, ID: &id, Messages: []*models.APIMessage{ { BudgetApproval: &models.APIBudgetApproval{}, Content: &content, Error: &models.APIInvocationErrorMessage{}, Reasoning: "string", Role: &role, Tool: &models.APIAgentInvocationTool{}, ToolApproval: &models.APIToolApproval{}, }, }, ProjectID: "string", VersionID: &versionID, }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.agentInvocation.invokeAgentVersionExternalV1( { creditCentsLimit: integer, deadlineSeconds: integer, id: "string", messages: [{ budgetApproval: { id: "string", invocationId: "string", requestedAt: new Date(), respondedAt: new Date(), responseMessage: "string", status: "string" }, content: "string", error: { code: "string", message: "string", param: "string", type: "string" }, reasoning: "string", role: "string", tool: { calls: [], toolId: "string" }, toolApproval: { id: "string", invocationId: "string", parameters: {}, requestMessage: "string", requestedAt: new Date(), respondedAt: new Date(), responseMessage: "string", sourceAgentId: "string", sourceInvocationId: "string", status: "string", toolCallId: "string", toolId: "string", toolName: "string" } }], projectId: "string", versionId: "string"} // body);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::AgentInvocation.new
body = Falcon::ApiInvokeAgentVersionExternalRequest.new( credit_cents_limit: integer, deadline_seconds: integer, id: 'string', messages: [{ budget_approval: { external_approval: {}, id: 'string', invocation_id: 'string', requested_at: 'string', responded_at: 'string', responded_by: {}, response_message: 'string', status: 'string' }, content: 'string', error: { code: 'string', message: 'string', param: 'string', type: 'string' }, reasoning: 'string', role: 'string', tool: { calls: [], result: {}, tool_id: 'string' }, tool_approval: { external_approval: {}, id: 'string', invocation_id: 'string', parameters: {}, request_message: 'string', requested_at: 'string', responded_at: 'string', responded_by: {}, response_message: 'string', source_agent_id: 'string', source_invocation_id: 'string', status: 'string', tool_call_id: 'string', tool_id: 'string', tool_name: 'string' } }], project_id: 'string', version_id: 'string')
response = api.invoke_agent_version_external_v1(body)
puts response[ { "ai_trace_id": "string", "budget_approvals": [], "compaction": {}, "conversation": [], "id": "string", "project_id": "string", "status": "string", "tool_approvals": [] }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}InvokePublishedAgentExternalV1
Section titled “InvokePublishedAgentExternalV1”Invoke a published agent by ID with the specified input.
invoke_published_agent_external_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
messages = [ { "content": "string", "error": { "code": "string", "message": "string", "param": "string", "type": "string" }, "reasoning": "string", "role": "string", "tool": { "calls": [ { "function": { "arguments": "string", "name": "string" }, "id": "string", "type": "string" } ], "tool_id": "string" }, "tool_approval": { "external_approval": { "external_id": "string", "provider": "string" }, "id": "string", "invocation_id": "string", "parameters": "string", "request_message": "string", "requested_at": "string", "responded_at": "string", "responded_by": { "customer_id": "string", "service_id": "string", "user_id": "string" }, "response_message": "string", "source_agent_id": "string", "source_invocation_id": "string", "status": "string", "tool_call_id": "string", "tool_id": "string", "tool_name": "string" } }]
response = falcon.invoke_published_agent_external_v1(credit_cents_limit=integer, deadline_seconds=integer, id="string", messages=messages, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
messages = [ { "content": "string", "error": { "code": "string", "message": "string", "param": "string", "type": "string" }, "reasoning": "string", "role": "string", "tool": { "calls": [ { "function": { "arguments": "string", "name": "string" }, "id": "string", "type": "string" } ], "tool_id": "string" }, "tool_approval": { "external_approval": { "external_id": "string", "provider": "string" }, "id": "string", "invocation_id": "string", "parameters": "string", "request_message": "string", "requested_at": "string", "responded_at": "string", "responded_by": { "customer_id": "string", "service_id": "string", "user_id": "string" }, "response_message": "string", "source_agent_id": "string", "source_invocation_id": "string", "status": "string", "tool_call_id": "string", "tool_id": "string", "tool_name": "string" } }]
response = falcon.InvokePublishedAgentExternalV1(credit_cents_limit=integer, deadline_seconds=integer, id="string", messages=messages, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "credit_cents_limit": integer, "deadline_seconds": integer, "id": "string", "messages": [ { "budget_approval": { "external_approval": {}, "id": "string", "invocation_id": "string", "requested_at": "string", "responded_at": "string", "responded_by": {}, "response_message": "string", "status": "string" }, "content": "string", "error": { "code": "string", "message": "string", "param": "string", "type": "string" }, "reasoning": "string", "role": "string", "tool": { "calls": ["string"], "result": {}, "tool_id": "string" }, "tool_approval": { "external_approval": {}, "id": "string", "invocation_id": "string", "parameters": {}, "request_message": "string", "requested_at": "string", "responded_at": "string", "responded_by": {}, "response_message": "string", "source_agent_id": "string", "source_invocation_id": "string", "status": "string", "tool_call_id": "string", "tool_id": "string", "tool_name": "string" } } ], "project_id": "string"}
response = falcon.command("InvokePublishedAgentExternalV1", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/agent_invocation" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
id := "string" content := "string" role := "string"
response, err := client.AgentInvocation.InvokePublishedAgentExternalV1( &agent_invocation.InvokePublishedAgentExternalV1Params{ Body: &models.APIInvokePublishedAgentExternalRequest{ CreditCentsLimit: integer, DeadlineSeconds: integer, ID: &id, Messages: []*models.APIMessage{ { BudgetApproval: &models.APIBudgetApproval{}, Content: &content, Error: &models.APIInvocationErrorMessage{}, Reasoning: "string", Role: &role, Tool: &models.APIAgentInvocationTool{}, ToolApproval: &models.APIToolApproval{}, }, }, ProjectID: "string", }, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.agentInvocation.invokePublishedAgentExternalV1( { creditCentsLimit: integer, deadlineSeconds: integer, id: "string", messages: [{ budgetApproval: { id: "string", invocationId: "string", requestedAt: new Date(), respondedAt: new Date(), responseMessage: "string", status: "string" }, content: "string", error: { code: "string", message: "string", param: "string", type: "string" }, reasoning: "string", role: "string", tool: { calls: [], toolId: "string" }, toolApproval: { id: "string", invocationId: "string", parameters: {}, requestMessage: "string", requestedAt: new Date(), respondedAt: new Date(), responseMessage: "string", sourceAgentId: "string", sourceInvocationId: "string", status: "string", toolCallId: "string", toolId: "string", toolName: "string" } }], projectId: "string"} // body);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::AgentInvocation.new
body = Falcon::ApiInvokePublishedAgentExternalRequest.new( credit_cents_limit: integer, deadline_seconds: integer, id: 'string', messages: [{ budget_approval: { external_approval: {}, id: 'string', invocation_id: 'string', requested_at: 'string', responded_at: 'string', responded_by: {}, response_message: 'string', status: 'string' }, content: 'string', error: { code: 'string', message: 'string', param: 'string', type: 'string' }, reasoning: 'string', role: 'string', tool: { calls: [], result: {}, tool_id: 'string' }, tool_approval: { external_approval: {}, id: 'string', invocation_id: 'string', parameters: {}, request_message: 'string', requested_at: 'string', responded_at: 'string', responded_by: {}, response_message: 'string', source_agent_id: 'string', source_invocation_id: 'string', status: 'string', tool_call_id: 'string', tool_id: 'string', tool_name: 'string' } }], project_id: 'string')
response = api.invoke_published_agent_external_v1(body)
puts response[ { "ai_trace_id": "string", "budget_approvals": [], "compaction": {}, "conversation": [], "id": "string", "project_id": "string", "status": "string", "tool_approvals": [] }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}PatchAgentExternalV3
Section titled “PatchAgentExternalV3”Modifies existing agents
update_agentParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.update_agent(id="string", dry_run=boolean, is_enabled=boolean, is_published=boolean, version_id="string", wait_for_ready=boolean, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.PatchAgentExternalV3(id="string", dry_run=boolean, is_enabled=boolean, is_published=boolean, version_id="string", wait_for_ready=boolean, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "is_enabled": boolean, "is_published": boolean, "version_id": "string"}
response = falcon.command("PatchAgentExternalV3", id="string", dry_run=boolean, wait_for_ready=boolean, project_id="string", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/agents" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
dryRun := boolean waitForReady := boolean projectID := "string" isPublished := boolean versionID := "string"
response, patchagentexternalv3accepted, err := client.Agents.PatchAgentExternalV3( &agents.PatchAgentExternalV3Params{ Body: &models.APIPatchAgentRequest{ IsEnabled: boolean, IsPublished: &isPublished, VersionID: &versionID, }, ID: "string", DryRun: &dryRun, WaitForReady: &waitForReady, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload) fmt.Printf("%+v\n", patchagentexternalv3accepted.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.agents.patchAgentExternalV3( "string", // id { // body isEnabled: boolean, isPublished: boolean, versionId: "string" }, boolean, // dryRun boolean, // waitForReady "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Agents.new
body = Falcon::ApiPatchAgentRequest.new( is_enabled: boolean, is_published: boolean, version_id: 'string')
response = api.patch_agent_external_v3('string', body)
puts response- 200 Successfully modified. The change has finished registration or the request didn't ask to wait for the confirmation of the registration.
- 202 The request was accepted, but registration was still in progress when the wait expired, so the agent is not ready for invocations yet. Only returned when wait_for_ready is true.
- 400 Bad Request
- 401 Unauthorized
- 403 Forbidden
- 404 Not Found
- 409 Version conflict — the agent was modified concurrently
- 429 Too Many Requests
- 500 Internal Server Error
[ { "active_version": {}, "attribution": {}, "cid": "string", "created_at": "string", "created_by": {}, "duplicate_from_agent_id": "string", "id": "string", "is_deleted": false, "is_in_sync": false, "project_id": "string", "published_version_ids": [], "tags": [], "template_id": "string", "updated_at": "string", "updated_by": {} }]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "agent_major_version_bump": false, "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }, "resources": [ { "active_version": {}, "attribution": {}, "cid": "string", "created_at": "string", "created_by": {}, "duplicate_from_agent_id": "string", "id": "string", "is_deleted": false, "is_in_sync": false, "project_id": "string", "published_version_ids": [], "tags": [], "template_id": "string", "updated_at": "string", "updated_by": {} } ]}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}PatchAgentInvocationV3
Section titled “PatchAgentInvocationV3”Modify an in-flight agent invocation.
update_agent_invocationParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.update_agent_invocation(id="string", status="string", project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.PatchAgentInvocationV3(id="string", status="string", project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "id": "string", "status": "string"}
response = falcon.command("PatchAgentInvocationV3", project_id="string", body=body_payload)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/agent_invocation" "github.com/crowdstrike/gofalcon/falcon/models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string" id := "string" status := "string"
response, err := client.AgentInvocation.PatchAgentInvocationV3( &agent_invocation.PatchAgentInvocationV3Params{ Body: &models.APIPatchAgentInvocationRequest{ ID: &id, Status: &status, }, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.agentInvocation.patchAgentInvocationV3( { // body id: "string", status: "string" }, "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::AgentInvocation.new
body = Falcon::ApiPatchAgentInvocationRequest.new( id: 'string', status: 'string')
response = api.patch_agent_invocation_v3(body)
puts response{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}QueriesAgentTemplatesV1
Section titled “QueriesAgentTemplatesV1”Query agent template IDs with pagination
queries_agent_templates_v1Parameters
Section titled “Parameters”Available values (6)
name | id | author |
model | created_at | updated_at |
from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.queries_agent_templates_v1(offset=integer, limit=integer, filter="string", sort="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.QueriesAgentTemplatesV1(offset=integer, limit=integer, filter="string", sort="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("QueriesAgentTemplatesV1", offset=integer, limit=integer, filter="string", sort="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/agent_templates")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
offset := int64(0) limit := int64(0) filter := "string" sort := "string"
response, err := client.AgentTemplates.QueriesAgentTemplatesV1( &agent_templates.QueriesAgentTemplatesV1Params{ Offset: &offset, Limit: &limit, Filter: &filter, Sort: &sort, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.agentTemplates.queriesAgentTemplatesV1( integer, // offset integer, // limit "string", // filter "string" // sort);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::AgentTemplates.new
response = api.queries_agent_templates_v1(offset: integer, limit: integer, filter: 'string', sort: 'string')
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}QueriesEvalCasesV1
Section titled “QueriesEvalCasesV1”Query evaluation cases based on the provided filters.
query_eval_casesParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.query_eval_cases(offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.QueriesEvalCasesV1(offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("QueriesEvalCasesV1", offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_cases")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
offset := int64(0) limit := int64(0) sort := "string" filter := "string" projectID := "string"
response, err := client.EvalCases.QueriesEvalCasesV1( &eval_cases.QueriesEvalCasesV1Params{ Offset: &offset, Limit: &limit, Sort: &sort, Filter: &filter, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalCases.queriesEvalCasesV1( integer, // offset integer, // limit "string", // sort "string", // filter "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalCases.new
response = api.queries_eval_cases_v1(offset: integer, limit: integer, sort: 'string', filter: 'string', project_id: 'string')
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}QueriesEvalDatasetEntriesV1
Section titled “QueriesEvalDatasetEntriesV1”Query evaluation dataset entries based on the provided filters.
query_eval_dataset_entriesParameters
Section titled “Parameters”Available values (2)
name | created_at |
from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.query_eval_dataset_entries(offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.QueriesEvalDatasetEntriesV1(offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("QueriesEvalDatasetEntriesV1", offset=integer, limit=integer, sort="string", filter="string", project_id="string", include_deleted=boolean)print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_dataset_entries")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
offset := int64(0) limit := int64(0) sort := "string" filter := "string" projectID := "string"
response, err := client.EvalDatasetEntries.QueriesEvalDatasetEntriesV1( &eval_dataset_entries.QueriesEvalDatasetEntriesV1Params{ Offset: &offset, Limit: &limit, Sort: &sort, Filter: &filter, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalDatasetEntries.queriesEvalDatasetEntriesV1( integer, // offset integer, // limit "string", // sort "string", // filter "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalDatasetEntries.new
response = api.queries_eval_dataset_entries_v1(offset: integer, limit: integer, sort: 'string', filter: 'string', project_id: 'string')
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}QueriesEvalDatasetsV1
Section titled “QueriesEvalDatasetsV1”Query evaluation datasets based on the provided filters.
query_eval_datasetsParameters
Section titled “Parameters”Available values (2)
name | created_at |
from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.query_eval_datasets(offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.QueriesEvalDatasetsV1(offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("QueriesEvalDatasetsV1", offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_datasets")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
offset := int64(0) limit := int64(0) sort := "string" filter := "string" projectID := "string"
response, err := client.EvalDatasets.QueriesEvalDatasetsV1( &eval_datasets.QueriesEvalDatasetsV1Params{ Offset: &offset, Limit: &limit, Sort: &sort, Filter: &filter, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalDatasets.queriesEvalDatasetsV1( integer, // offset integer, // limit "string", // sort "string", // filter "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalDatasets.new
response = api.queries_eval_datasets_v1(offset: integer, limit: integer, sort: 'string', filter: 'string', project_id: 'string')
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}QueriesEvalEvaluatorsV1
Section titled “QueriesEvalEvaluatorsV1”Query evaluation evaluators based on the provided filters.
query_eval_evaluatorsParameters
Section titled “Parameters”Available values (2)
name | created_at |
from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.query_eval_evaluators(offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.QueriesEvalEvaluatorsV1(offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("QueriesEvalEvaluatorsV1", offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_evaluators")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
offset := int64(0) limit := int64(0) sort := "string" filter := "string" projectID := "string"
response, err := client.EvalEvaluators.QueriesEvalEvaluatorsV1( &eval_evaluators.QueriesEvalEvaluatorsV1Params{ Offset: &offset, Limit: &limit, Sort: &sort, Filter: &filter, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalEvaluators.queriesEvalEvaluatorsV1( integer, // offset integer, // limit "string", // sort "string", // filter "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalEvaluators.new
response = api.queries_eval_evaluators_v1(offset: integer, limit: integer, sort: 'string', filter: 'string', project_id: 'string')
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}QueriesEvalRunsV1
Section titled “QueriesEvalRunsV1”Query evaluation runs based on the provided filters.
query_eval_runsParameters
Section titled “Parameters”Available values (2)
name | created_at |
from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.query_eval_runs(offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.QueriesEvalRunsV1(offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("QueriesEvalRunsV1", offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/eval_runs")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
offset := int64(0) limit := int64(0) sort := "string" filter := "string" projectID := "string"
response, err := client.EvalRuns.QueriesEvalRunsV1( &eval_runs.QueriesEvalRunsV1Params{ Offset: &offset, Limit: &limit, Sort: &sort, Filter: &filter, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.evalRuns.queriesEvalRunsV1( integer, // offset integer, // limit "string", // sort "string", // filter "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::EvalRuns.new
response = api.queries_eval_runs_v1(offset: integer, limit: integer, sort: 'string', filter: 'string', project_id: 'string')
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}QueriesKnowledgeBaseAuditEventsV1
Section titled “QueriesKnowledgeBaseAuditEventsV1”Query knowledge base audit event IDs with pagination and filtering.
queries_knowledge_base_audit_events_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.queries_knowledge_base_audit_events_v1(knowledge_base_id="string", offset=integer, limit=integer, sort="string", filter="string", include_deleted=boolean, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.QueriesKnowledgeBaseAuditEventsV1(knowledge_base_id="string", offset=integer, limit=integer, sort="string", filter="string", include_deleted=boolean, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("QueriesKnowledgeBaseAuditEventsV1", knowledge_base_id="string", offset=integer, limit=integer, sort="string", filter="string", include_deleted=boolean, project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/knowledge_base_audit_events")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
offset := int64(0) limit := int64(0) sort := "string" filter := "string" includeDeleted := boolean projectID := "string"
response, err := client.KnowledgeBaseAuditEvents.QueriesKnowledgeBaseAuditEventsV1( &knowledge_base_audit_events.QueriesKnowledgeBaseAuditEventsV1Params{ KnowledgeBaseID: "string", Offset: &offset, Limit: &limit, Sort: &sort, Filter: &filter, IncludeDeleted: &includeDeleted, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.knowledgeBaseAuditEvents.queriesKnowledgeBaseAuditEventsV1( "string", // knowledgeBaseId integer, // offset integer, // limit "string", // sort "string", // filter boolean, // includeDeleted "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::KnowledgeBaseAuditEvents.new
response = api.queries_knowledge_base_audit_events_v1('string')
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}QueriesKnowledgeBaseFilesV1
Section titled “QueriesKnowledgeBaseFilesV1”Query knowledge base files based on the provided filters.
queries_knowledge_base_files_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.queries_knowledge_base_files_v1(knowledge_base_id="string", offset=integer, limit=integer, filter="string", include_deleted=boolean, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.QueriesKnowledgeBaseFilesV1(knowledge_base_id="string", offset=integer, limit=integer, filter="string", include_deleted=boolean, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("QueriesKnowledgeBaseFilesV1", knowledge_base_id="string", offset=integer, limit=integer, filter="string", include_deleted=boolean, project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/knowledge_base_files")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
offset := int64(0) limit := int64(0) filter := "string" includeDeleted := boolean projectID := "string"
response, err := client.KnowledgeBaseFiles.QueriesKnowledgeBaseFilesV1( &knowledge_base_files.QueriesKnowledgeBaseFilesV1Params{ KnowledgeBaseID: "string", Offset: &offset, Limit: &limit, Filter: &filter, IncludeDeleted: &includeDeleted, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.knowledgeBaseFiles.queriesKnowledgeBaseFilesV1( "string", // knowledgeBaseId integer, // offset integer, // limit "string", // filter boolean, // includeDeleted "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::KnowledgeBaseFiles.new
response = api.queries_knowledge_base_files_v1('string')
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}QueriesKnowledgeBasesV1
Section titled “QueriesKnowledgeBasesV1”Query knowledge bases based on the provided filters.
queries_knowledge_bases_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.queries_knowledge_bases_v1(offset=integer, limit=integer, sort="string", filter="string", include_deleted=boolean, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.QueriesKnowledgeBasesV1(offset=integer, limit=integer, sort="string", filter="string", include_deleted=boolean, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("QueriesKnowledgeBasesV1", offset=integer, limit=integer, sort="string", filter="string", include_deleted=boolean, project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/knowledge_bases")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
offset := int64(0) limit := int64(0) sort := "string" filter := "string" includeDeleted := boolean projectID := "string"
response, err := client.KnowledgeBases.QueriesKnowledgeBasesV1( &knowledge_bases.QueriesKnowledgeBasesV1Params{ Offset: &offset, Limit: &limit, Sort: &sort, Filter: &filter, IncludeDeleted: &includeDeleted, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.knowledgeBases.queriesKnowledgeBasesV1( integer, // offset integer, // limit "string", // sort "string", // filter boolean, // includeDeleted "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::KnowledgeBases.new
response = api.queries_knowledge_bases_v1(offset: integer, limit: integer, sort: 'string', filter: 'string', include_deleted: boolean, project_id: 'string')
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}QueriesModelsV1
Section titled “QueriesModelsV1”Query models based on the provided filters.
queries_models_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.queries_models_v1(offset=integer, limit=integer, filter="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.QueriesModelsV1(offset=integer, limit=integer, filter="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("QueriesModelsV1", offset=integer, limit=integer, filter="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/agentic_models")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
offset := int64(0) limit := int64(0) filter := "string"
response, err := client.AgenticModels.QueriesModelsV1( &agentic_models.QueriesModelsV1Params{ Offset: &offset, Limit: &limit, Filter: &filter, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.models.queriesModelsV1( integer, // offset integer, // limit "string" // filter);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Models.new
response = api.queries_models_v1(offset: integer, limit: integer, filter: 'string')
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}QueriesSkillsV1
Section titled “QueriesSkillsV1”Query skills based on the provided filters.
query_studio_skillsParameters
Section titled “Parameters”Available values (3)
name | created_at | updated_at |
from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.query_studio_skills(offset=integer, limit=integer, sort="string", filter="string", include_deleted=boolean, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.QueriesSkillsV1(offset=integer, limit=integer, sort="string", filter="string", include_deleted=boolean, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("QueriesSkillsV1", offset=integer, limit=integer, sort="string", filter="string", include_deleted=boolean, project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/skills")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
offset := int64(0) limit := int64(0) sort := "string" filter := "string" includeDeleted := boolean projectID := "string"
response, err := client.Skills.QueriesSkillsV1( &skills.QueriesSkillsV1Params{ Offset: &offset, Limit: &limit, Sort: &sort, Filter: &filter, IncludeDeleted: &includeDeleted, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.skills.queriesSkillsV1( integer, // offset integer, // limit "string", // sort "string", // filter boolean, // includeDeleted "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Skills.new
response = api.queries_skills_v1(offset: integer, limit: integer, sort: 'string', filter: 'string', include_deleted: boolean, project_id: 'string')
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}QueriesSpansV1
Section titled “QueriesSpansV1”Query spans based on the provided filters.
queries_spans_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.queries_spans_v1(offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.QueriesSpansV1(offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("QueriesSpansV1", offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/spans")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
offset := int64(0) limit := int64(0) sort := "string" filter := "string" projectID := "string"
response, err := client.Spans.QueriesSpansV1( &spans.QueriesSpansV1Params{ Offset: &offset, Limit: &limit, Sort: &sort, Filter: &filter, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.spans.queriesSpansV1( integer, // offset integer, // limit "string", // sort "string", // filter "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Spans.new
response = api.queries_spans_v1(offset: integer, limit: integer, sort: 'string', filter: 'string', project_id: 'string')
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}QueriesToolsV1
Section titled “QueriesToolsV1”Query tools based on the provided filters.
queries_tools_v1Parameters
Section titled “Parameters”Available values (4)
id | name | description |
category |
from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.queries_tools_v1(offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.QueriesToolsV1(offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("QueriesToolsV1", offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/tools")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
offset := int64(0) limit := int64(0) sort := "string" filter := "string" projectID := "string"
response, err := client.Tools.QueriesToolsV1( &tools.QueriesToolsV1Params{ Offset: &offset, Limit: &limit, Sort: &sort, Filter: &filter, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.tools.queriesToolsV1( integer, // offset integer, // limit "string", // sort "string", // filter "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Tools.new
response = api.queries_tools_v1(offset: integer, limit: integer, sort: 'string', filter: 'string', project_id: 'string')
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}QueryAgentsV2
Section titled “QueryAgentsV2”Query agents based on the provided filters.
query_studio_agentsParameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.query_studio_agents(offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.QueryAgentsV2(offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("QueryAgentsV2", offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/agents")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
offset := int64(0) limit := int64(0) sort := "string" filter := "string" projectID := "string"
response, err := client.Agents.QueryAgentsV2( &agents.QueryAgentsV2Params{ Offset: &offset, Limit: &limit, Sort: &sort, Filter: &filter, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.agents.queryAgentsV2( integer, // offset integer, // limit "string", // sort "string", // filter "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Agents.new
response = api.query_agents_v2(offset: integer, limit: integer, sort: 'string', filter: 'string', project_id: 'string')
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}QueryAgentVersionsV1
Section titled “QueryAgentVersionsV1”Query agent versions based on the provided filters.
query_agent_versions_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.query_agent_versions_v1(offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.QueryAgentVersionsV1(offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("QueryAgentVersionsV1", offset=integer, limit=integer, sort="string", filter="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/agent_versions")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
offset := int64(0) limit := int64(0) sort := "string" filter := "string" projectID := "string"
response, err := client.AgentVersions.QueryAgentVersionsV1( &agent_versions.QueryAgentVersionsV1Params{ Offset: &offset, Limit: &limit, Sort: &sort, Filter: &filter, ProjectID: &projectID, Context: context.Background(), }, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.agentVersions.queryAgentVersionsV1( integer, // offset integer, // limit "string", // sort "string", // filter "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::AgentVersions.new
response = api.query_agent_versions_v1(offset: integer, limit: integer, sort: 'string', filter: 'string', project_id: 'string')
puts response[ "string"]{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}StreamInvocationResponseV1
Section titled “StreamInvocationResponseV1”Retrieves the stream of results for an invocation
stream_invocation_response_v1Parameters
Section titled “Parameters”from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.stream_invocation_response_v1(id=id_list, project_id="string")print(response)from falconpy import Charlotte
falcon = Charlotte(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.StreamInvocationResponseV1(id=id_list, project_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("StreamInvocationResponseV1", id="string", project_id="string")print(response)Examples coming soon.
package main
import ( "context" "fmt" "os"
"github.com/crowdstrike/gofalcon/falcon" "github.com/crowdstrike/gofalcon/falcon/client/stream")
func main() { client, err := falcon.NewClient(&falcon.ApiConfig{ ClientId: os.Getenv("FALCON_CLIENT_ID"), ClientSecret: os.Getenv("FALCON_CLIENT_SECRET"), Context: context.Background(), }) if err != nil { panic(err) }
projectID := "string"
file, err := os.Create("output_file") if err != nil { panic(err) } defer file.Close()
response, err := client.Stream.StreamInvocationResponseV1( &stream.StreamInvocationResponseV1Params{ ID: "string", ProjectID: &projectID, Context: context.Background(), }, file, ) if err != nil { panic(falcon.ErrorExplain(err)) }
fmt.Printf("%+v\n", response.Payload)}import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: "us-1", clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.stream.streamInvocationResponseV1( "string", // id "string" // projectId);
console.log(response);Examples coming soon.
require "crimson-falcon"
Falcon.configure do |config| config.client_id = ENV["FALCON_CLIENT_ID"] config.client_secret = ENV["FALCON_CLIENT_SECRET"] config.cloud = ENV["FALCON_CLOUD"]end
api = Falcon::Stream.new
response = api.stream_invocation_response_v1('string')
puts response{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}{ "errors": [ { "code": 0, "id": "string", "message": "string" } ], "meta": { "pagination": { "limit": 0, "offset": 0, "total": 0 }, "powered_by": "string", "query_time": 0.0, "trace_id": "string", "writes": { "resources_affected": 0 } }}