|
1973 | 1973 | "format": "uuid", |
1974 | 1974 | "description": "Identifies the user who created the dataset" |
1975 | 1975 | }, |
| 1976 | + "tags": { |
| 1977 | + "type": [ |
| 1978 | + "array", |
| 1979 | + "null" |
| 1980 | + ], |
| 1981 | + "items": { |
| 1982 | + "type": "string" |
| 1983 | + }, |
| 1984 | + "description": "A list of tags for the dataset" |
| 1985 | + }, |
1976 | 1986 | "metadata": { |
1977 | 1987 | "type": [ |
1978 | 1988 | "object", |
|
2213 | 2223 | "root_span_id" |
2214 | 2224 | ] |
2215 | 2225 | }, |
| 2226 | + "DatasetSnapshot": { |
| 2227 | + "type": "object", |
| 2228 | + "properties": { |
| 2229 | + "id": { |
| 2230 | + "type": "string", |
| 2231 | + "format": "uuid", |
| 2232 | + "description": "Unique identifier for the dataset snapshot" |
| 2233 | + }, |
| 2234 | + "dataset_id": { |
| 2235 | + "type": "string", |
| 2236 | + "format": "uuid", |
| 2237 | + "description": "Unique identifier for the dataset that this snapshot belongs to" |
| 2238 | + }, |
| 2239 | + "name": { |
| 2240 | + "type": "string", |
| 2241 | + "description": "Name of the dataset snapshot" |
| 2242 | + }, |
| 2243 | + "description": { |
| 2244 | + "type": [ |
| 2245 | + "string", |
| 2246 | + "null" |
| 2247 | + ] |
| 2248 | + }, |
| 2249 | + "xact_id": { |
| 2250 | + "type": "string", |
| 2251 | + "description": "Transaction id of the brainstore version at the time of the snapshot" |
| 2252 | + }, |
| 2253 | + "created": { |
| 2254 | + "type": [ |
| 2255 | + "string", |
| 2256 | + "null" |
| 2257 | + ], |
| 2258 | + "format": "date-time", |
| 2259 | + "description": "Date of dataset snapshot creation" |
| 2260 | + } |
| 2261 | + }, |
| 2262 | + "required": [ |
| 2263 | + "id", |
| 2264 | + "dataset_id", |
| 2265 | + "name", |
| 2266 | + "description", |
| 2267 | + "xact_id", |
| 2268 | + "created" |
| 2269 | + ] |
| 2270 | + }, |
2216 | 2271 | "EnvVar": { |
2217 | 2272 | "type": "object", |
2218 | 2273 | "properties": { |
|
5173 | 5228 | "description": "Textual description of the project automation" |
5174 | 5229 | }, |
5175 | 5230 | "config": { |
5176 | | - "anyOf": [ |
| 5231 | + "oneOf": [ |
5177 | 5232 | { |
5178 | 5233 | "type": "object", |
5179 | 5234 | "properties": { |
|
7716 | 7771 | ], |
7717 | 7772 | "description": "Optional BTQL filter applied before topic automation." |
7718 | 7773 | }, |
| 7774 | + "rerun_seconds": { |
| 7775 | + "type": [ |
| 7776 | + "number", |
| 7777 | + "null" |
| 7778 | + ], |
| 7779 | + "minimum": 600, |
| 7780 | + "description": "How often to recompute topic maps" |
| 7781 | + }, |
| 7782 | + "relabel_overlap_seconds": { |
| 7783 | + "type": [ |
| 7784 | + "number", |
| 7785 | + "null" |
| 7786 | + ], |
| 7787 | + "minimum": 60, |
| 7788 | + "description": "How much recent history to relabel after a new topic map version becomes active" |
| 7789 | + }, |
7719 | 7790 | "backfill_time_range": { |
7720 | 7791 | "anyOf": [ |
7721 | 7792 | { |
|
7740 | 7811 | "type": "null" |
7741 | 7812 | } |
7742 | 7813 | ], |
7743 | | - "description": "Optional default time range for backfill operations." |
| 7814 | + "description": "Topic window used for classification coverage and initial backfill." |
7744 | 7815 | } |
7745 | 7816 | }, |
7746 | 7817 | "required": [ |
|
7836 | 7907 | }, |
7837 | 7908 | "description": "Mapping from topic_id to topic name" |
7838 | 7909 | }, |
| 7910 | + "generation_settings": { |
| 7911 | + "$ref": "#/components/schemas/TopicMapGenerationSettings" |
| 7912 | + }, |
7839 | 7913 | "distance_threshold": { |
7840 | 7914 | "type": "number", |
7841 | 7915 | "description": "Maximum distance to nearest centroid. If exceeded, returns no_match." |
|
7872 | 7946 | "function" |
7873 | 7947 | ] |
7874 | 7948 | }, |
| 7949 | + "TopicMapGenerationSettings": { |
| 7950 | + "type": "object", |
| 7951 | + "properties": { |
| 7952 | + "algorithm": { |
| 7953 | + "type": "string", |
| 7954 | + "enum": [ |
| 7955 | + "hdbscan", |
| 7956 | + "kmeans" |
| 7957 | + ] |
| 7958 | + }, |
| 7959 | + "dimension_reduction": { |
| 7960 | + "type": "string", |
| 7961 | + "enum": [ |
| 7962 | + "umap", |
| 7963 | + "pca", |
| 7964 | + "none" |
| 7965 | + ] |
| 7966 | + }, |
| 7967 | + "sample_size": { |
| 7968 | + "type": "integer", |
| 7969 | + "exclusiveMinimum": 0 |
| 7970 | + }, |
| 7971 | + "n_clusters": { |
| 7972 | + "type": "integer", |
| 7973 | + "exclusiveMinimum": 0 |
| 7974 | + }, |
| 7975 | + "min_cluster_size": { |
| 7976 | + "type": "integer", |
| 7977 | + "exclusiveMinimum": 0 |
| 7978 | + }, |
| 7979 | + "min_samples": { |
| 7980 | + "type": "integer", |
| 7981 | + "exclusiveMinimum": 0 |
| 7982 | + }, |
| 7983 | + "hierarchy_threshold": { |
| 7984 | + "type": "integer", |
| 7985 | + "exclusiveMinimum": 0 |
| 7986 | + }, |
| 7987 | + "naming_model": { |
| 7988 | + "type": "string" |
| 7989 | + } |
| 7990 | + }, |
| 7991 | + "required": [ |
| 7992 | + "algorithm", |
| 7993 | + "dimension_reduction" |
| 7994 | + ], |
| 7995 | + "description": "Clustering and naming settings used to generate this topic map" |
| 7996 | + }, |
7875 | 7997 | "TraceScope": { |
7876 | 7998 | "type": "object", |
7877 | 7999 | "properties": { |
|
8030 | 8152 | ], |
8031 | 8153 | "format": "date-time", |
8032 | 8154 | "description": "Date of user creation" |
| 8155 | + }, |
| 8156 | + "last_active_at": { |
| 8157 | + "type": [ |
| 8158 | + "number", |
| 8159 | + "null" |
| 8160 | + ], |
| 8161 | + "description": "Unix timestamp in milliseconds of the user's last activity, when available" |
8033 | 8162 | } |
8034 | 8163 | }, |
8035 | 8164 | "required": [ |
|
0 commit comments