AI-Agent-First Documentation
Prompt your Agent: "Query and mutate records on the 'auth_credential' table (ID prefix 'aucr_') using platform.records and platform.query.sql, ensuring all lookup fields use plain string IDs."
Auth Credential (auth_credential)
Encrypted authentication credentials for use with Valstorm and external systems
Python SDK & PlatformContext Example
# 1. Query auth_credential via parameterized ANSI SQL
rows = await platform.query.sql("SELECT id, name, created_date FROM auth_credential ORDER BY created_date DESC LIMIT 25")
# 2. Create auth_credential record (Generates 'aucr_...' Base62 ID)
created = await platform.records.create("auth_credential", [
{"name": "Example Auth Credential"}
])| Field API Name | Type / Format | Lookup Target | Flags | Description |
|---|---|---|---|---|
| id | string | — | requiredsystem | Id |
| name | string | — | required | Name |
| created_date | stringdate-time | — | system | Created Date |
| modified_date | stringdate-time | — | system | Modified Date |
| created_by | stringlookup | → user (string ID) | requiredsystem | Created By |
| modified_by | stringlookup | → user (string ID) | requiredsystem | Modified By |
| user | stringlookup | → user (string ID) | User | |
| data | jsonjson | — | Data | |
| integrated_app | stringlookup | → integrated_app (string ID) | required | Integrated App |
| headers | jsonjson | — | Headers | |
| api_key | string | — | Api Key | |
| owner | stringlookup | → user (string ID) | system | Owner |
| shared_with | listsharing | — | system | Shared With |
