Skip to content

Foundry

The Custom Storage service collection provides operations for managing custom object storage within the CrowdStrike platform. List, describe, search, get, upload, and delete objects within named collections. Support includes versioned collections with schema management and metadata retrieval.

The FaaS Execution service collection provides operations for retrieving large request bodies from Function-as-a-Service gateway executions. Retrieve files or other large payloads that have spilled into object storage during function execution.

The Foundry LogScale service collection provides operations for ingesting data, managing lookup files, executing saved searches, and listing repositories and views within your CrowdStrike Falcon Foundry LogScale environment.

LanguageLast Update
Pythonv1.6.7
PowerShellv2.2.9
Gov0.25.0
TypeScriptv0.9.0
Rustv0.7.1
Rubyv1.6.0

OperationDescription
BatchGetObjectsFetch 1–100 objects by key in a single request.
BatchGetObjectsByVersionFetch 1–100 objects by key in a single request.
CreateFileV1
create_file_v1
Creates a lookup file within a foundry app
CreateSavedSearchesDynamicExecuteV1
execute_dynamic
Execute a dynamic saved search
CreateSavedSearchesExecuteV1
execute
Execute a saved search
CreateSavedSearchesIngestV1
populate
Populate a saved search
DeleteObject
delete
Delete the specified object
DeleteVersionedObject
delete_version
Delete the specified versioned object
DescribeCollection
describe_collection
Fetch metadata about an existing collection
DescribeCollections
describe_collections
Fetch metadata about one or more existing collections
GetObject
get
Get the bytes for the specified object
GetObjectMetadata
metadata
Get the metadata for the specified object
GetSavedSearchesExecuteV1
get_search_results
Get the results of a saved search
GetSavedSearchesJobResultsDownloadV1
download_results
Get the results of a saved search as a file
GetSchema
get_schema
Get the bytes of the specified schema of the requested collection
GetSchemaMetadata
schema_metadata
Get the metadata for the specified schema of the requested collection
GetVersionedObject
get_version
Get the bytes for the specified object
GetVersionedObjectMetadata
version_metadata
Get the metadata for the specified object
IngestDataAsyncV1
ingest_data_async
Asynchronously ingest data into the application repository
IngestDataV1
ingest_data
Synchronously ingest data into the application repository
ListCollections
list_collections
List available collection names in alphabetical order
ListObjects
list
List the object keys in the specified collection in alphabetical order
ListObjectsByVersion
list_by_version
List the object keys in the specified collection in alphabetical order
ListReposV1
list_repos
Lists available repositories
ListSchemas
list_schemas
Get the list of schemas for the requested collection in reverse version order (latest first)
ListViewV1
list_views
List available views
PutObject
upload
Put the specified new object at the given key or overwrite an existing object at the given key
PutObjectByVersion
upload_version
Put the specified new object at the given key or overwrite an existing object at the given key
ReadRequestBody
read_request_body
retrieve a large request body, such as a file, that has spilled into object storage
SearchObjects
search
Search for objects that match the specified filter criteria (returns metadata, not actual objects)
SearchObjectsByVersion
search_by_version
Search for objects that match the specified filter criteria (returns metadata, not actual objects)
UpdateFileV1
update_file_v1
Updates a lookup file within a Foundry app

Fetch 1–100 objects by key in a single request.

Method GET
Route /customobjects/v1/collections/{collection_name}/objects-batch
Scope Custom storage: READ
collection_name path · string
The name of the collection
object_keys query · string or list of strings
A set of object keys to fetch
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.

Examples coming soon.

[
{
"collection_name": "string",
"collection_version": "string",
"etag": "string",
"last_modified_time": "string",
"namespace": "string",
"object_key": "string",
"schema_version": "string",
"value_base64": "string"
}
]


Fetch 1–100 objects by key in a single request.

Method GET
Route /customobjects/v1/collections/{collection_name}/{collection_version}/objects-batch
Scope Custom storage: READ
collection_name path · string
The name of the collection
collection_version path · string
The version of the collection
object_keys query · string or list of strings
A set of object keys to fetch
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.

Examples coming soon.

[
{
"collection_name": "string",
"collection_version": "string",
"etag": "string",
"last_modified_time": "string",
"namespace": "string",
"object_key": "string",
"schema_version": "string",
"value_base64": "string"
}
]


Creates a lookup file within a foundry app

Method POST
Route /loggingapi/entities/lookup-files/v1
Scope App Logs: WRITE
PEP 8 create_file_v1
file body · file
File to be uploaded
name body · string
Name used to identify the file
description body · string
File description
id body · string
Unique identifier of the file being updated.
repo body · string
Name of repository or view to save the file
file_name body · string
Name to use for the uploaded file.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.create_file_v1(file_name="string",
file="string",
name="string",
description="string",
id="string",
repo="string")
print(response)
[
{
"app_id": "string",
"cid": "string",
"contents_hash": "string",
"created_by": {},
"created_timestamp": "string",
"description": "string",
"filename": "string",
"format": "string",
"id": "string",
"last_modified_by": {},
"last_modified_timestamp": "string",
"name": "string",
"repo": "string",
"size": 0,
"status": "string",
"version": "string",
"version_numeric": 0
}
]


Execute a dynamic saved search

Method POST
Route /loggingapi/entities/saved-searches/execute-dynamic/v1
Scope App Logs: WRITE
PEP 8 execute_dynamic
body body · dictionary
Full body payload as JSON formatted dictionary.
end body · string
Ending position.
extra_log_fields body · object
next_run_interval body · object
repo_or_view body · string
Name of the repo or view to perform the search.
search_query body · string
Query for the search.
search_query_args body · object
Argumetns provided to the search.
start body · string
Starting position.
app_id query · string
Application ID.
include_schema_generation query · boolean
Include generated schemas in the response
include_test_data query · boolean
Include test data when executing searches
infer_json_types query · boolean
Whether to try to infer data types in json event response instead of returning map[string]string
match_response_schema query · boolean
Whether to validate search results against their schema
metadata query · boolean
Whether to include metadata in the response
mode query · string
Mode to execute the query under.
Available values (3)
syncasyncasync_offload
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
incude_test_data body · boolean
Include test data when executing searches.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
search_query_args = {}
response = falcon.execute_dynamic(app_id="string",
end="string",
include_schema_generation=boolean,
incude_test_data=boolean,
infer_json_types=boolean,
match_response_schema=boolean,
metadata=boolean,
mode="string",
repo_or_view="string",
search_query="string",
search_query_args=search_query_args,
start="string")
print(response)
[
{
"event_count": 0,
"events": [],
"fields": [],
"filtered_event_count": 0,
"job_status": {},
"meta_data": {},
"schemas": {}
}
]


Execute a saved search

Method POST
Route /loggingapi/entities/saved-searches/execute/v1
Scope App Logs: WRITE
PEP 8 execute
body body · dictionary
Full body payload as JSON formatted dictionary.
end body · string
Ending position.
extra_log_fields body · object
id body · string
Saved search ID.
mode body · string
name body · string
Saved search name.
next_run_interval body · object
parameters body · object
start body · string
Starting position.
version body · string
with_in body · object
With in.
with_limit body · object
With limit.
with_renames body · array
With renames.
with_sort body · object
With sort.
app_id query · string
Application ID.
detailed query · boolean
Whether to include search field details
include_test_data query · boolean
Include test data when executing searches
infer_json_types query · boolean
Whether to try to infer data types in json event response instead of returning map[string]string
match_response_schema query · boolean
Whether to validate search results against their schema
metadata query · boolean
Whether to include metadata in the response
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
search_parameters body · dictionary
Search specific parameters. NOT to be confused with the default parameters.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
with_in = {
"field": "string",
"values": [
"string"
]
}
with_limit = {
"from": "string",
"limit": 0
}
with_renames = [
{
"as": "string",
"field": "string"
}
]
with_sort = {
"fields": [
"string"
],
"limit": 0,
"order": [
"string"
],
"reverse": True,
"type": [
"string"
]
}
response = falcon.execute(app_id="string",
detailed=boolean,
end="string",
id="string",
include_test_data=boolean,
infer_json_types=boolean,
match_response_schema=boolean,
metadata=boolean,
name="string",
search_parameters={},
start="string",
with_in=with_in,
with_limit=with_limit,
with_renames=with_renames,
with_sort=with_sort)
print(response)
[
{
"event_count": 0,
"events": [],
"fields": [],
"filtered_event_count": 0,
"job_status": {},
"meta_data": {},
"schemas": {}
}
]


Populate a saved search

Method POST
Route /loggingapi/entities/saved-searches/ingest/v1
Scope App Logs: WRITE
PEP 8 populate
app_id query · string
Application ID.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.populate(app_id="string")
print(response)
[
{
"error_message": "string",
"failed_events": 0,
"failed_item_indices": [],
"partial_success": false,
"repo": {},
"rows_written": 0,
"successful_events": 0,
"total_events": 0
}
]


Delete the specified object

Method DELETE
Route /customobjects/v1/collections/{collection_name}/objects/{object_key}
Scope Custom storage: WRITE
PEP 8 delete
collection_name path · string
The name of the collection
dry_run query · boolean
If false, run the operation as normal. If true, validate that the request *would* succeed, but don’t execute it.
object_key path · string
The object key
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.delete(collection_name="string",
dry_run=boolean,
object_key="string")
print(response)
[
{
"collection_name": "string",
"collection_version": "string",
"last_modified_time": "string",
"namespace": "string",
"object_key": "string",
"schema_version": "string"
}
]


Delete the specified versioned object

Method DELETE
Route /customobjects/v1/collections/{collection_name}/{collection_version}/objects/{object_key}
Scope Custom storage: WRITE
PEP 8 delete_version
collection_name path · string
The name of the collection
collection_version path · string
The version of the collection
dry_run query · boolean
If false, run the operation as normal. If true, validate that the request *would* succeed, but don’t execute it.
object_key path · string
The object key
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.delete_version(collection_name="string",
collection_name="string",
dry_run=boolean,
object_key="string")
print(response)
[
{
"collection_name": "string",
"collection_version": "string",
"last_modified_time": "string",
"namespace": "string",
"object_key": "string",
"schema_version": "string"
}
]


Fetch metadata about an existing collection

Method GET
Route /customobjects/v1/collections/{collection_name}
Scope Custom storage: READ
PEP 8 describe_collection
collection_name path · string
The name of the collection
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.describe_collection(collection_name="string")
print(response)
[
{
"agent_tools_meta": {},
"created_by": {},
"created_timestamp": "string",
"description": "string",
"draft_schema_version": "string",
"is_global": false,
"last_modified_by": {},
"last_modified_timestamp": "string",
"name": "string",
"namespace": "string",
"permissions": [],
"published_version": "string",
"schema_version": "string",
"status": "string",
"version": "string",
"workflow_meta": {}
}
]


Fetch metadata about one or more existing collections

Method PUT
Route /customobjects/v1/collections
Scope Custom storage: READ
PEP 8 describe_collections
names query · string or list of strings
A set of collection names
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.describe_collections(names=id_list)
print(response)
[
{
"agent_tools_meta": {},
"created_by": {},
"created_timestamp": "string",
"description": "string",
"draft_schema_version": "string",
"is_global": false,
"last_modified_by": {},
"last_modified_timestamp": "string",
"name": "string",
"namespace": "string",
"permissions": [],
"published_version": "string",
"schema_version": "string",
"status": "string",
"version": "string",
"workflow_meta": {}
}
]


Get the bytes for the specified object

Method GET
Route /customobjects/v1/collections/{collection_name}/objects/{object_key}
Scope Custom storage: READ
PEP 8 get
collection_name path · string
The name of the collection
object_key path · string
The object key
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
with open("output_file", "wb") as save_file:
response = falcon.get(collection_name="string",
object_key="string",
stream=boolean)
save_file.write(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
}
}
}


Get the metadata for the specified object

Method GET
Route /customobjects/v1/collections/{collection_name}/objects/{object_key}/metadata
Scope Custom storage: READ
PEP 8 metadata
collection_name path · string
The name of the collection
object_key path · string
The object key
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.metadata(collection_name="string", object_key="string")
print(response)
[
{
"collection_name": "string",
"collection_version": "string",
"last_modified_time": "string",
"namespace": "string",
"object_key": "string",
"schema_version": "string"
}
]


Get the results of a saved search

Method GET
Route /loggingapi/entities/saved-searches/execute/v1
Scope App Logs: READ
PEP 8 get_search_results
job_id query · string
Job ID for a previously executed async query
app_id query · string
Application ID.
infer_json_types query · boolean
Whether to try to infer data types in json event response instead of returning map[string]string
job_status_only query · boolean
If set to true, result rows are dropped from the response and only the job status is returned
limit query · string
Maximum number of records to return.
match_response_schema query · boolean
Whether to validate search results against their schema
metadata query · boolean
Whether to include metadata in the response
offset query · string
Starting pagination offset of records to return.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_search_results(app_id="string",
job_id="string",
job_status_only=boolean,
limit="string",
infer_json_types=boolean,
match_response_schema=boolean,
metadata=boolean,
offset="string")
print(response)
[
{
"event_count": 0,
"events": [],
"fields": [],
"filtered_event_count": 0,
"job_status": {},
"meta_data": {},
"schemas": {}
}
]


Get the results of a saved search as a file

Method GET
Route /loggingapi/entities/saved-searches/job-results-download/v1
Scope App Logs: READ
PEP 8 download_results
job_id query · string
Job ID for a previously executed async query
infer_json_types query · boolean
Whether to try to infer data types in json event response instead of returning map[string]string
result_format query · string
Result Format
Available values (2)
jsoncsv
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
with open("output_file", "wb") as save_file:
response = falcon.download_results(job_id="string",
infer_json_types=boolean,
result_format="string",
stream=boolean)
save_file.write(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": {}
}


Get the bytes of the specified schema of the requested collection

Method GET
Route /customobjects/v1/collections/{collection_name}/schemas/{schema_version}
Scope Custom storage: READ
PEP 8 get_schema
collection_name path · string
The name of the collection
schema_version path · string
The version of the collection schema or ‘latest’ for the latest version
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
with open("output_file", "wb") as save_file:
response = falcon.get_schema(collection_name="string",
schema_version="string",
stream=boolean)
save_file.write(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
}
}
}


Get the metadata for the specified schema of the requested collection

Method GET
Route /customobjects/v1/collections/{collection_name}/schemas/{schema_version}/metadata
Scope Custom storage: READ
PEP 8 schema_metadata
collection_name path · string
The name of the collection
schema_version path · string
The version of the collection schema or ‘latest’ for the latest version
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.schema_metadata(collection_name="string",
schema_version="string")
print(response)
[
{
"collection_name": "string",
"collection_version": "string",
"create_timestamp": "string",
"created_by": {},
"indexed_fields": [],
"last_modified_by": {},
"last_modified_timestamp": "string",
"namespace": "string",
"status": "string",
"type": "string",
"version": "string"
}
]


Get the bytes for the specified object

Method GET
Route /customobjects/v1/collections/{collection_name}/{collection_version}/objects/{object_key}
Scope Custom storage: READ
PEP 8 get_version
collection_name path · string
The name of the collection
collection_version path · string
The version of the collection
object_key path · string
The object key
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
with open("output_file", "wb") as save_file:
response = falcon.get_version(collection_name="string",
collection_version="string",
object_key="string",
stream=boolean)
save_file.write(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
}
}
}


Get the metadata for the specified object

Method GET
Route /customobjects/v1/collections/{collection_name}/{collection_version}/objects/{object_key}/metadata
Scope Custom storage: READ
PEP 8 version_metadata
collection_name path · string
The name of the collection
collection_version path · string
The version of the collection
object_key path · string
The object key
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.version_metadata(collection_name="string",
collection_version="string",
object_key="string")
print(response)
[
{
"collection_name": "string",
"collection_version": "string",
"last_modified_time": "string",
"namespace": "string",
"object_key": "string",
"schema_version": "string"
}
]


Asynchronously ingest data into the application repository

Method POST
Route /loggingapi/entities/data-ingestion/ingest-async/v1
Scope App Logs: WRITE
PEP 8 ingest_data_async
data_content body · string
JSON data to ingest
data_file body · file
Data file to ingest
repo body · string
Repository name if not part of a foundry app
tag body · string or list of strings
Custom tag for ingested data in the form tag:value
tag_source body · string
Tag the data with the specified source
test_data body · boolean
Tag the data with test-ingest
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.ingest_data_async(data_content="string",
data_file="string",
tag="string",
tag_source="string",
test_data=boolean)
print(response)
[
{
"error_message": "string",
"failed_events": 0,
"failed_item_indices": [],
"partial_success": false,
"repo": {},
"rows_written": 0,
"successful_events": 0,
"total_events": 0
}
]


Synchronously ingest data into the application repository

Method POST
Route /loggingapi/entities/data-ingestion/ingest/v1
Scope App Logs: WRITE
PEP 8 ingest_data
data_content body · string
JSON data to ingest
data_file body · file
Data file to ingest
tag body · string or list of strings
Custom tag for ingested data in the form tag:value
tag_source body · string
Tag the data with the specified source
test_data body · boolean
Tag the data with test-ingest
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.ingest_data(data_content="string",
data_file="string",
tag="string",
tag_source="string",
test_data=boolean)
print(response)
[
{
"error_message": "string",
"failed_events": 0,
"failed_item_indices": [],
"partial_success": false,
"repo": {},
"rows_written": 0,
"successful_events": 0,
"total_events": 0
}
]


List available collection names in alphabetical order

Method GET
Route /customobjects/v1/collections
Scope Custom storage: READ
PEP 8 list_collections
end query · string
The end key to end listing to
limit query · integer
The limit of results to return
start query · string
The start key to start listing from
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.list_collections(end="string", limit=integer, start="string")
print(response)
[
"string"
]


List the object keys in the specified collection in alphabetical order

Method GET
Route /customobjects/v1/collections/{collection_name}/objects
Scope Custom storage: READ
PEP 8 list
collection_name path · string
The name of the collection
end query · string
The end key to end listing to
limit query · integer
The limit of results to return
start query · string
The start key to start listing from
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.list(collection_name="string",
end="string",
limit=integer,
start="string")
print(response)
[
"string"
]


List the object keys in the specified collection in alphabetical order

Method GET
Route /customobjects/v1/collections/{collection_name}/{collection_version}/objects
Scope Custom storage: READ
PEP 8 list_by_version
collection_name path · string
The name of the collection
collection_version path · string
The version of the collection
end query · string
The end key to end listing to
limit query · integer
The limit of results to return
start query · string
The start key to start listing from
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.list_by_version(collection_name="string",
collection_version="string",
end="string",
limit=integer,
start="string")
print(response)
[
"string"
]


Lists available repositories

Method GET
Route /loggingapi/combined/repos/v1
Scope App Logs: READ
PEP 8 list_repos
check_test_data query · boolean
Include whether test data is present in the application repository
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.list_repos(check_test_data=boolean)
print(response)
[
{
"connections": [],
"description": "string",
"display_name": "string",
"has_test_data": false,
"id": "string",
"name": "string",
"name_contracted": "string",
"size": 0,
"type_name": "string"
}
]


Get the list of schemas for the requested collection in reverse version order (latest first)

Method GET
Route /customobjects/v1/collections/{collection_name}/schemas
Scope Custom storage: READ
PEP 8 list_schemas
collection_name path · string
The name of the collection
end query · string
The end key to end listing to
limit query · integer
The limit of results to return
start query · string
The start key to start listing from
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.list_schemas(collection_name="string",
end="string",
limit=integer,
start="string")
print(response)
[
"string"
]


List available views

Method GET
Route /loggingapi/entities/views/v1
Scope App Logs: READ
PEP 8 list_views
check_test_data query · boolean
Include whether test data is present in the application repository
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.list_views(check_test_data=boolean)
print(response)
[
{
"connections": [],
"description": "string",
"display_name": "string",
"has_test_data": false,
"id": "string",
"name": "string",
"name_contracted": "string",
"size": 0,
"type_name": "string"
}
]


Put the specified new object at the given key or overwrite an existing object at the given key

Method PUT
Route /customobjects/v1/collections/{collection_name}/objects/{object_key}
Scope Custom storage: WRITE
PEP 8 upload
body body · dictionary
Full body payload as JSON formatted dictionary.
collection_name path · string
The name of the collection
dry_run query · boolean
If false, run the operation as normal. If true, validate that the request *would* succeed, but don’t execute it.
object_key path · string
The object key
schema_version query · string
The version of the collection schema
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.upload(collection_name="string",
dry_run=boolean,
object_key="string",
schema_version="string")
print(response)
[
{
"collection_name": "string",
"collection_version": "string",
"last_modified_time": "string",
"namespace": "string",
"object_key": "string",
"schema_version": "string"
}
]


Put the specified new object at the given key or overwrite an existing object at the given key

Method PUT
Route /customobjects/v1/collections/{collection_name}/{collection_version}/objects/{object_key}
Scope Custom storage: WRITE
PEP 8 upload_version
body body · dictionary
Full body payload as JSON formatted dictionary.
collection_name path · string
The name of the collection
collection_version path · string
The version of the collection
dry_run query · boolean
If false, run the operation as normal. If true, validate that the request *would* succeed, but don’t execute it.
object_key path · string
The object key
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
schema_version body · string
The version of the collection schema.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.upload_version(collection_name="string",
collection_version="string",
dry_run=boolean,
object_key="string",
schema_version="string")
print(response)
[
{
"collection_name": "string",
"collection_version": "string",
"last_modified_time": "string",
"namespace": "string",
"object_key": "string",
"schema_version": "string"
}
]


retrieve a large request body, such as a file, that has spilled into object storage

Method GET
Route /faas-gateway/entities/execution-request-body/v2
Scope Apps: READ
PEP 8 read_request_body
id query · string
Execution ID
fn query · string
function ref; form of $fn_id:$fn_version
filename query · string
filename to be retrieved
sha256 query · string
sha256 checksum for file to be retrieved
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
with open("output_file", "wb") as save_file:
response = falcon.read_request_body(id="string",
fn="string",
filename="string",
sha256="string",
stream=boolean)
save_file.write(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
}
}
}


Search for objects that match the specified filter criteria (returns metadata, not actual objects)

Method POST
Route /customobjects/v1/collections/{collection_name}/objects
Scope Custom storage: READ
PEP 8 search
collection_name path · string
The name of the collection
filter query · string
The filter to limit the returned results.
limit query · integer
The limit of results to return
offset query · integer
The offset of results to return
sort query · string
The sort order for the returned results.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.search(collection_name="string",
filter="string",
limit=integer,
offset=integer,
sort="string")
print(response)
[
{
"collection_name": "string",
"collection_version": "string",
"last_modified_time": "string",
"namespace": "string",
"object_key": "string",
"schema_version": "string"
}
]


Search for objects that match the specified filter criteria (returns metadata, not actual objects)

Method POST
Route /customobjects/v1/collections/{collection_name}/{collection_version}/objects
Scope Custom storage: READ
PEP 8 search_by_version
collection_name path · string
The name of the collection
collection_version path · string
The version of the collection
filter query · string
The filter to limit the returned results.
limit query · integer
The limit of results to return
offset query · integer
The offset of results to return
sort query · string
The sort order for the returned results.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.search_by_version(collection_name="string",
collection_version="string",
filter="string",
limit=integer,
offset=integer,
sort="string")
print(response)
[
{
"collection_name": "string",
"collection_version": "string",
"last_modified_time": "string",
"namespace": "string",
"object_key": "string",
"schema_version": "string"
}
]


Updates a lookup file within a Foundry app

Method PATCH
Route /loggingapi/entities/lookup-files/v1
Scope App Logs: WRITE
PEP 8 update_file_v1
id body · string
Unique identifier of the file being updated.
description body · string
File description
file body · file
File to be uploaded
file_name body · string
Name to use for the uploaded file.
from falconpy import Foundry
falcon = Foundry(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.update_file_v1(file_name="string",
id="string",
description="string",
file="string")
print(response)
[
{
"app_id": "string",
"cid": "string",
"contents_hash": "string",
"created_by": {},
"created_timestamp": "string",
"description": "string",
"filename": "string",
"format": "string",
"id": "string",
"last_modified_by": {},
"last_modified_timestamp": "string",
"name": "string",
"repo": "string",
"size": 0,
"status": "string",
"version": "string",
"version_numeric": 0
}
]