Fireworks AI Schema#

        graph LR
    FireworksAccount -- RESOURCE --> FireworksApiKey
    FireworksAccount -- RESOURCE --> FireworksDataset
    FireworksAccount -- RESOURCE --> FireworksDeployment
    FireworksAccount -- RESOURCE --> FireworksModel
    FireworksAccount -- RESOURCE --> FireworksServiceAccount
    FireworksAccount -- RESOURCE --> FireworksUser
    FireworksApiKey -- OWNED_BY --> FireworksServiceAccount
    FireworksApiKey -- OWNED_BY --> FireworksUser
    FireworksDeployment -- SERVES --> FireworksModel
    

FireworksAccount#

A Fireworks AI account, the tenant that owns users, keys, and serving resources.

Policy properties come from the account’s policy settings, which hold the model access policy, data residency, Zero Data Retention (ZDR), and CMEK requirement. An account that has never saved policy settings gets the documented defaults: every model allowed, no residency restriction, and ZDR off.

Ontology Mapping: This node uses the ontology label Tenant.

Properties#

Ontology-generated fields are shown in italics.

Field

Index

Description

id

Yes

Fireworks AI account ID, such as my-account.

firstseen

Timestamp when a sync job first created this node.

lastupdated

Yes

Timestamp of the last sync that observed this node.

account_type

Account type, such as ENTERPRISE.

cmek_required

Whether new customer-data resources must be encrypted with a customer-managed key.

create_time

RFC 3339 timestamp when the account was created.

default_allow_dedicated_deployments

Model access policy default for dedicated deployments.

default_allow_serverless

Model access policy default for serverless inference.

default_allow_serverless_fast

Model access policy default for serverless Fast mode.

default_allow_training

Model access policy default for training.

display_name

Human-readable account name.

email

Primary email address for billing invoices and account notifications.

model_access_rule_count

Number of per-model access rules that override the defaults.

name

Resource name of the account, such as accounts/my-account.

policy_settings_readable

Whether Cartography could read the account policy settings. When false, every policy property on this node is null.

residency

Data residency restriction, such as US or EUROPE. Null when serving is unrestricted.

state

Account state, such as READY.

suspend_state

Suspension state: UNSUSPENDED, FAILED_PAYMENTS, CREDIT_DEPLETED, MONTHLY_SPEND_LIMIT_EXCEEDED, or BLOCKED_BY_ABUSE_RULE.

update_time

RFC 3339 timestamp when the account was last updated.

zdr_default_enforced

Zero Data Retention default policy for inference and training.

zdr_inference_enforced

Whether Zero Data Retention is in effect for inference, after inheritance.

zdr_inference_enforcement

Zero Data Retention override for inference: ENFORCED, NOT_ENFORCED, or null to inherit the default.

zdr_training_enforced

Whether Zero Data Retention is in effect for training, after inheritance.

zdr_training_enforcement

Zero Data Retention override for training: ENFORCED, NOT_ENFORCED, or null to inherit the default.

_ont_name

Yes

Normalized field sourced from display_name.

_ont_source

Module that populated this node’s ontology fields.

_ont_status

Yes

Normalized field sourced from suspend_state.

Relationships#

  • (:FireworksAccount)-[:RESOURCE]->(:FireworksApiKey): The account contains the API key.

  • (:FireworksAccount)-[:RESOURCE]->(:FireworksDataset): The account contains the dataset.

  • (:FireworksAccount)-[:RESOURCE]->(:FireworksDeployment): The account contains the deployment.

  • (:FireworksAccount)-[:RESOURCE]->(:FireworksModel): The account contains the model.

  • (:FireworksAccount)-[:RESOURCE]->(:FireworksServiceAccount): The account contains the service account.

  • (:FireworksAccount)-[:RESOURCE]->(:FireworksUser): The account contains the user.

FireworksApiKey#

An API key that authenticates as a Fireworks AI user or service account.

Listing every key in the account requires an API key owned by an admin. The key value itself is never ingested.

Ontology Mapping: This node uses the ontology label APIKey.

Properties#

Ontology-generated fields are shown in italics.

Field

Index

Description

id

Yes

Fireworks AI API key ID.

firstseen

Timestamp when a sync job first created this node.

lastupdated

Yes

Timestamp of the last sync that observed this node.

created_at

RFC 3339 timestamp when the key was created.

expires_at

RFC 3339 timestamp when the key expires. Keys last at most one year.

is_firepass

Whether the key is a FirePass inference key.

last_used_at

RFC 3339 timestamp when the key was last used. Null if it was never used.

name

API key display name. Fireworks AI uses default when none is set.

owner_email

Yes

Email address of the user or service account that owns the key.

prefix

First characters of the key, used to identify it visually.

secure

Whether Fireworks AI does not know the key’s plaintext value.

_ont_created_at

Yes

Normalized field sourced from created_at.

_ont_expires_at

Yes

Normalized field sourced from expires_at.

_ont_last_used_at

Yes

Normalized field sourced from last_used_at.

_ont_name

Yes

Normalized field sourced from name.

_ont_source

Module that populated this node’s ontology fields.

Relationships#

  • (:FireworksApiKey)-[:OWNED_BY]->(:FireworksServiceAccount): The API key is owned by a service account in the same account, matched by email address.

  • (:FireworksApiKey)-[:OWNED_BY]->(:FireworksUser): The API key is owned by a user in the same account, matched by email address.

  • (:User)-[:OWNS]->(:FireworksApiKey): generated by analysis job Ontology - User OWNS APIKey linking.

  • (:FireworksAccount)-[:RESOURCE]->(:FireworksApiKey): The account contains the API key.

FireworksDataset#

A dataset of training or evaluation data in a Fireworks AI account.

Cartography records dataset metadata only, never its contents.

Properties#

Field

Index

Description

id

Yes

Resource name of the dataset, such as accounts/my-account/datasets/my-dataset.

firstseen

Timestamp when a sync job first created this node.

lastupdated

Yes

Timestamp of the last sync that observed this node.

create_time

RFC 3339 timestamp when the dataset was created.

created_by

Email address of the user who created the dataset.

dataset_id

Dataset ID within the account.

display_name

Human-readable dataset name.

encryption_state

Yes

Encryption at rest: ENCRYPTION_STATE_PLAINTEXT or ENCRYPTION_STATE_CMEK.

estimated_token_count

Estimated number of tokens in the dataset.

example_count

Number of examples in the dataset.

external_url

External bucket URI that holds the data, such as gs://bucket/path.jsonl.

format

Dataset format: CHAT, COMPLETION, or RL.

source_job_name

Resource name of the job that produced the dataset, such as a batch inference job.

state

Dataset state: UPLOADING or READY.

update_time

RFC 3339 timestamp when the dataset was last updated.

Relationships#

  • (:FireworksAccount)-[:RESOURCE]->(:FireworksDataset): The account contains the dataset.

FireworksDeployment#

A dedicated, on-demand Fireworks AI deployment that serves a model on reserved GPUs.

Deleted deployments aren’t ingested. The deployment’s direct-route API keys are credentials and are never ingested.

Properties#

Field

Index

Description

id

Yes

Resource name of the deployment, such as accounts/my-account/deployments/my-deployment.

firstseen

Timestamp when a sync job first created this node.

lastupdated

Yes

Timestamp of the last sync that observed this node.

accelerator_count

Number of accelerators per replica.

accelerator_type

GPU type, such as NVIDIA_H100_80GB.

base_model

Yes

Resource name of the served model, such as accounts/fireworks/models/llama-v3p1-8b-instruct.

cluster

Resource name of the bring-your-own-cluster (BYOC) cluster that runs the deployment.

create_time

RFC 3339 timestamp when the deployment was created.

deployment_id

Deployment ID within the account.

deployment_shape

Resource name of the deployment shape version in use.

description

Deployment description.

direct_route_handle

Handle for calling the direct route, such as a hostname or service attachment.

direct_route_type

Direct route that bypasses the Fireworks AI API gateway: INTERNET, GCP_PRIVATE_SERVICE_CONNECT, or AWS_PRIVATELINK. Null when direct routing is off.

display_name

Human-readable deployment name.

enable_addons

Whether the deployment can serve LoRA addons.

max_replica_count

Maximum number of replicas.

min_replica_count

Minimum number of replicas.

precision

Serving precision, such as FP8.

preemptible

Whether the deployment runs on preemptible capacity.

region

Region where the deployment currently runs.

replica_count

Current number of replicas.

state

Deployment state, such as READY, CREATING, or FAILED.

update_time

RFC 3339 timestamp when the deployment was last updated.

Relationships#

  • (:FireworksAccount)-[:RESOURCE]->(:FireworksDeployment): The account contains the deployment.

  • (:FireworksDeployment)-[:SERVES]->(:FireworksModel): The deployment serves a model that the account owns.

Deployments of public catalog models keep the model only in base_model.

FireworksModel#

A model owned by a Fireworks AI account, such as an uploaded base model or a fine-tuned LoRA.

The public Fireworks AI catalog under accounts/fireworks isn’t ingested.

Ontology Mapping: This node uses the ontology label AIModel.

Properties#

Ontology-generated fields are shown in italics.

Field

Index

Description

id

Yes

Resource name of the model, such as accounts/my-account/models/my-model.

firstseen

Timestamp when a sync job first created this node.

lastupdated

Yes

Timestamp of the last sync that observed this node.

base_model

Resource name of the base model that a LoRA or other addon model extends.

cluster

Resource name of the bring-your-own-cluster (BYOC) cluster that holds the model.

context_length

Maximum context length the model supports.

create_time

RFC 3339 timestamp when the model was created.

description

Model description.

display_name

Human-readable model name.

encryption_state

Yes

Encryption at rest: ENCRYPTION_STATE_PLAINTEXT or ENCRYPTION_STATE_CMEK.

fine_tuning_job

Resource name of the fine-tuning job that created the model.

github_url

URL of the model’s GitHub repository.

hugging_face_url

URL of the model on Hugging Face.

imported_from

Resource name of the model this one was imported from.

kind

Model kind, such as HF_BASE_MODEL, HF_PEFT_ADDON, or CUSTOM_MODEL.

model_id

Model ID within the account.

public

Whether any Fireworks AI account can read the model.

state

Model state: UPLOADING or READY.

supports_image_input

Whether the model accepts image input.

supports_tools

Whether the model accepts tool definitions.

update_time

RFC 3339 timestamp when the model was last updated.

_ont_name

Yes

Normalized field sourced from display_name.

_ont_provider

Yes

Property generated by the ontology mapping.

_ont_source

Module that populated this node’s ontology fields.

_ont_status

Yes

Normalized field sourced from state.

_ont_type

Yes

Normalized field sourced from kind.

Relationships#

  • (:FireworksAccount)-[:RESOURCE]->(:FireworksModel): The account contains the model.

  • (:FireworksDeployment)-[:SERVES]->(:FireworksModel): The deployment serves a model that the account owns.

Deployments of public catalog models keep the model only in base_model.

FireworksServiceAccount#

A Fireworks AI service account, a non-human user that can only authenticate with API keys.

Ontology Mapping: This node uses the ontology label ServiceAccount.

Properties#

Ontology-generated fields are shown in italics.

Field

Index

Description

id

Yes

Resource name of the service account, such as accounts/my-account/users/ci-bot.

firstseen

Timestamp when a sync job first created this node.

lastupdated

Yes

Timestamp of the last sync that observed this node.

account_id

Yes

ID of the Fireworks AI account that the service account belongs to.

create_time

RFC 3339 timestamp when the service account was created.

display_name

Human-readable service account name.

email

Yes

Service account email address, such as ci-bot@my-account.sa.fireworks.ai. Audit logs use this address.

permission_preset

Permission preset that governs the service account when role is custom.

role

Account role: admin, user, contributor, inference-user, or custom. Service accounts default to inference-user.

state

Service account state, such as READY.

update_time

RFC 3339 timestamp when the service account was last updated.

user_id

Service account ID within the account.

_ont_email

Yes

Normalized field sourced from email.

_ont_name

Yes

Normalized field sourced from display_name.

_ont_source

Module that populated this node’s ontology fields.

Relationships#

  • (:FireworksApiKey)-[:OWNED_BY]->(:FireworksServiceAccount): The API key is owned by a service account in the same account, matched by email address.

  • (:FireworksAccount)-[:RESOURCE]->(:FireworksServiceAccount): The account contains the service account.

FireworksUser#

A human user in a Fireworks AI account.

Service accounts come from the same API and are ingested as FireworksServiceAccount instead.

Ontology Mapping: This node uses the ontology label UserAccount.

Properties#

Ontology-generated fields are shown in italics.

Field

Index

Description

id

Yes

Resource name of the user, such as accounts/my-account/users/alice.

firstseen

Timestamp when a sync job first created this node.

lastupdated

Yes

Timestamp of the last sync that observed this node.

account_id

Yes

ID of the Fireworks AI account that the user belongs to.

create_time

RFC 3339 timestamp when the user was created.

display_name

Human-readable user name.

email

Yes

User email address.

permission_preset

Permission preset that governs the user when role is custom.

role

Account role: admin, user, contributor, inference-user, or custom.

state

User state, such as READY.

update_time

RFC 3339 timestamp when the user was last updated.

user_id

User ID within the account.

_ont_email

Yes

Normalized field sourced from email.

_ont_fullname

Yes

Normalized field sourced from display_name.

_ont_source

Module that populated this node’s ontology fields.

Relationships#

  • (:User)-[:HAS_ACCOUNT]->(:FireworksUser): generated by analysis job Ontology - UserAccount HAS_ACCOUNT User linking by normalized email.

  • (:FireworksApiKey)-[:OWNED_BY]->(:FireworksUser): The API key is owned by a user in the same account, matched by email address.

  • (:FireworksAccount)-[:RESOURCE]->(:FireworksUser): The account contains the user.